diff --git a/compose/config.py b/compose/config.py index d04903db2..08be91662 100644 --- a/compose/config.py +++ b/compose/config.py @@ -24,7 +24,6 @@ DOCKER_CONFIG_KEYS = [ 'env_file', 'environment', 'extra_hosts', - 'read_only', 'hostname', 'image', 'labels', @@ -37,6 +36,7 @@ DOCKER_CONFIG_KEYS = [ 'pid', 'ports', 'privileged', + 'read_only', 'restart', 'security_opt', 'stdin_open',