Add privileges to allow umount /etc/hosts for network hack

This commit is contained in:
James Oliver 2016-05-24 14:02:15 -07:00
parent 85dab172e3
commit 33780054e0
5 changed files with 6 additions and 3 deletions

View File

@ -8,3 +8,4 @@ scheduler:
- "/var/run/docker.sock:/var/run/docker.sock"
ports:
- "${AURORA_HTTP_PORT}:${AURORA_HTTP_PORT}"
privileged: true

View File

@ -5,4 +5,5 @@ chronos:
MESOS_SERVICE: Mesos/mesos-master
CHRONOS_HTTP_PORT: ${CHRONOS_HTTP_PORT}
ports:
- "${CHRONOS_HTTP_PORT}:${CHRONOS_HTTP_PORT}"
- "${CHRONOS_HTTP_PORT}:${CHRONOS_HTTP_PORT}"
privileged: true

View File

@ -8,3 +8,4 @@ scheduler:
NODE_COUNT: ${NODE_COUNT}
ports:
- "${SCHEDULER_PORT}:${SCHEDULER_PORT}"
privileged: true

View File

@ -6,3 +6,4 @@ scheduler:
SCHEDULER_PORT: ${SCHEDULER_PORT}
ports:
- "${SCHEDULER_PORT}:${SCHEDULER_PORT}"
privileged: true

View File

@ -6,5 +6,4 @@ marathon:
MARATHON_HTTP_PORT: ${MARATHON_HTTP_PORT}
ports:
- "${MARATHON_HTTP_PORT}:${MARATHON_HTTP_PORT}"
cap_add:
- NET_ADMIN
privileged: true