Remove option to set Privileged mode, as this cannot be parameterised in the docker-compose YAML (#162)

This commit is contained in:
Steve Shipway 2016-06-02 06:20:19 +12:00 committed by Bill Maxwell
parent 871a28d5cd
commit d7e06867f8
2 changed files with 1 additions and 7 deletions

View File

@ -11,7 +11,6 @@ cleanup:
io.rancher.scheduler.global: "true"
io.rancher.scheduler.affinity:host_label_ne: "${EXCLUDE_LABEL}"
net: none
privileged: ${PRIVILEGED_MODE}
tty: false
stdin_open: false
volumes:

View File

@ -28,9 +28,4 @@
default: "*:*"
required: false
type: "string"
- variable: "PRIVILEGED_MODE"
label: "Run janitor in privileged mode"
description: "In hardened environments containers must be privileged to access the bind-mounted unix:///var/run/docker.sock. This is not the default case."
default: false
required: true
type: "boolean"