Merge pull request #746 from justincormack/no-2375

Stop Docker listening on port 2375
This commit is contained in:
Nathan LeClaire 2016-12-05 13:43:36 -08:00 committed by GitHub
commit 82d92fd11b

View File

@ -34,11 +34,6 @@ start()
# Only start with networking on cloud editions
DOCKER_OPTS="${DOCKER_OPTS} -H unix:///var/run/docker.sock"
if [ "$(mobyplatform)" = "aws" ] || [ "$(mobyplatform)" = "azure" ]
then
# TODO: Don't do this
DOCKER_OPTS="${DOCKER_OPTS} -H 0.0.0.0:2375"
fi
# On desktop editions, force swarm advertise address to be on eth0
# Currently we do not support multi node swarm on these editions