summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Shepherd <darren@rancher.com>2015-05-25 20:23:29 -0700
committerDarren Shepherd <darren@rancher.com>2015-05-25 20:23:29 -0700
commit396af7adbe480787ac9cb2ba866d6d2125b8dd30 (patch)
treea3d989048f8406797aadaa429c88ad5ecae760d4
parent7b2fd8cf5ef3bbcbecd190eba39a33b3708ff33b (diff)
downloaddocker-py-396af7adbe480787ac9cb2ba866d6d2125b8dd30.tar.gz
Typo in ReadonlyRootfs
read_only parameter does not work because the wrong name is sent to Docker
-rw-r--r--docker/utils/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/utils/utils.py b/docker/utils/utils.py
index 4110017..e4a3c9e 100644
--- a/docker/utils/utils.py
+++ b/docker/utils/utils.py
@@ -383,7 +383,7 @@ def create_host_config(
host_config['PublishAllPorts'] = publish_all_ports
if read_only is not None:
- host_config['ReadOnlyRootFs'] = read_only
+ host_config['ReadonlyRootfs'] = read_only
if dns_search:
host_config['DnsSearch'] = dns_search