Stop Docker listening on port 2375

This is a huge security hole, remove from Moby.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack 2016-11-16 21:55:42 +00:00
parent 57d023e0b0
commit 7701e2b156

View File

@ -37,11 +37,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