mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-26 20:18:52 +00:00
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:
parent
57d023e0b0
commit
7701e2b156
@ -37,11 +37,6 @@ start()
|
|||||||
|
|
||||||
# Only start with networking on cloud editions
|
# Only start with networking on cloud editions
|
||||||
DOCKER_OPTS="${DOCKER_OPTS} -H unix:///var/run/docker.sock"
|
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
|
# On desktop editions, force swarm advertise address to be on eth0
|
||||||
# Currently we do not support multi node swarm on these editions
|
# Currently we do not support multi node swarm on these editions
|
||||||
|
Loading…
Reference in New Issue
Block a user