diff options
Diffstat (limited to 'docker/utils/utils.py')
-rw-r--r-- | docker/utils/utils.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/docker/utils/utils.py b/docker/utils/utils.py index b107f22..f4ad6f8 100644 --- a/docker/utils/utils.py +++ b/docker/utils/utils.py @@ -735,9 +735,7 @@ def create_host_config(binds=None, port_bindings=None, lxc_conf=None, host_config['ShmSize'] = shm_size - if pid_mode not in (None, 'host'): - raise host_config_value_error('pid_mode', pid_mode) - elif pid_mode: + if pid_mode: host_config['PidMode'] = pid_mode if ipc_mode: |