diff --git a/sdk_container/src/third_party/coreos-overlay/app-arch/torcx/files/dockerd-wrapper.sh b/sdk_container/src/third_party/coreos-overlay/app-arch/torcx/files/dockerd-wrapper.sh index 2a94d06561..19c440bdda 100644 --- a/sdk_container/src/third_party/coreos-overlay/app-arch/torcx/files/dockerd-wrapper.sh +++ b/sdk_container/src/third_party/coreos-overlay/app-arch/torcx/files/dockerd-wrapper.sh @@ -34,8 +34,8 @@ parse_docker_args "$@" USE_SELINUX="" # Do not override selinux if it is already explicitly configured. if [[ -z "${ARG_SELINUX}" ]]; then - # If unspecified, default on - USE_SELINUX="--selinux-enabled" + # If unspecified, default off + USE_SELINUX="--selinux-enabled=false" fi exec dockerd "$@" ${USE_SELINUX} diff --git a/sdk_container/src/third_party/coreos-overlay/app-emulation/docker/files/dockerd b/sdk_container/src/third_party/coreos-overlay/app-emulation/docker/files/dockerd index 2a94d06561..19c440bdda 100644 --- a/sdk_container/src/third_party/coreos-overlay/app-emulation/docker/files/dockerd +++ b/sdk_container/src/third_party/coreos-overlay/app-emulation/docker/files/dockerd @@ -34,8 +34,8 @@ parse_docker_args "$@" USE_SELINUX="" # Do not override selinux if it is already explicitly configured. if [[ -z "${ARG_SELINUX}" ]]; then - # If unspecified, default on - USE_SELINUX="--selinux-enabled" + # If unspecified, default off + USE_SELINUX="--selinux-enabled=false" fi exec dockerd "$@" ${USE_SELINUX}