Skip to content

Commit 396af7a

Browse files
Typo in ReadonlyRootfs
read_only parameter does not work because the wrong name is sent to Docker
1 parent 7b2fd8c commit 396af7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/utils/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ def create_host_config(
383383
host_config['PublishAllPorts'] = publish_all_ports
384384

385385
if read_only is not None:
386-
host_config['ReadOnlyRootFs'] = read_only
386+
host_config['ReadonlyRootfs'] = read_only
387387

388388
if dns_search:
389389
host_config['DnsSearch'] = dns_search

0 commit comments

Comments
 (0)