File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,11 @@ RUN /opt/conda/bin/pip install \
88 oauthenticator==0.4.* \
99 dockerspawner==0.4.*
1010
11+ # install docker on the jupyterhub container
12+ RUN wget https://get.docker.com -q -O /tmp/getdocker && \
13+ chmod +x /tmp/getdocker && \
14+ sh /tmp/getdocker
15+
1116# Copy TLS certificate and key
1217ENV SSL_CERT /srv/jupyterhub/secrets/jupyterhub.crt
1318ENV SSL_KEY /srv/jupyterhub/secrets/jupyterhub.key
Original file line number Diff line number Diff line change @@ -12,9 +12,6 @@ services:
1212 image : jupyterhub
1313 container_name : jupyterhub
1414 volumes :
15- # Bind Docker binary from host machine so we can invoke Docker commands
16- # from inside container
17- - " /usr/local/bin/docker:/usr/local/bin/docker:ro"
1815 # Bind Docker socket on the host so we can connect to the daemon from
1916 # within the container
2017 - " /var/run/docker.sock:/var/run/docker.sock:rw"
You can’t perform that action at this time.
0 commit comments