mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-21 10:09:07 +00:00
docker: also listen to local unix socket when running on Hyper-V
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
parent
ad95c77f90
commit
7f7abf722e
@ -14,7 +14,7 @@ then
|
|||||||
else
|
else
|
||||||
# If there is no database and we run on Hyper-V start daemon
|
# If there is no database and we run on Hyper-V start daemon
|
||||||
# with networking for now. This will change in the future!
|
# with networking for now. This will change in the future!
|
||||||
[ -d /sys/bus/vmbus ] && DOCKER_OPTS="${DOCKER_OPTS} -H tcp://0.0.0.0:2375"
|
[ -d /sys/bus/vmbus ] && DOCKER_OPTS="${DOCKER_OPTS} -H tcp://0.0.0.0:2375 -H unix:///var/run/docker.sock"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user