no need to mount docker binary from the host

If docker is installed in the JHub container, then there's no point in mounting the binary from the host.
This commit is contained in:
Moisei 2016-08-18 10:06:53 +03:00 committed by GitHub
parent 93660a19ca
commit dff2a90328

View File

@ -12,9 +12,6 @@ services:
image: jupyterhub
container_name: jupyterhub
volumes:
# Bind Docker binary from host machine so we can invoke Docker commands
# from inside container
- "/usr/local/bin/docker:/usr/local/bin/docker:ro"
# Bind Docker socket on the host so we can connect to the daemon from
# within the container
- "/var/run/docker.sock:/var/run/docker.sock:rw"