Comments (1)
Hi Sven,
first of all thanks for showing interest in my repo. I am currently updating the Jupyterhub Dockerfile from jupyterhub\juypterhub-onbuild
to jupyterhub\jupyterhub
base image. I guess you checked out the incomplete state of my work. If you want to try out a working state please checkout the tag v.0.2
or wait until I push v.1.0
. I should be finished until Friday evening or at least this weekend.
To make things clear for you:
the nfs container (and jupyterhub-network) don't have the IP addresses you've put in .env - and so the hub container can't start.
Of course this isn't the case. You first have to modify the config of your setup. In the .env
file you must change the NFSSERVER_IP
to the IP Address of the Docker Node running the nfs-container
. Also change the NFS_CONFIG_HOSTS
in the .envNFS
to the IPs of your Docker Nodes in your swarm.
To make thinks clear. The nfs-container
is a "simple" container on a Docker Host. The NFS Port (2049) of the nfs-container
is mapped to the Docker host machine on port (2049 or defined with NFS_PORT
in the .env
file). After starting the container a NFS client can connect to the NFSServer inside the nfs-container
by providing the Docker host machine's IP and the NFS port (2049 or defined with NFS_PORT
in .env
file).
When launching the jupyterhub as a Docker Service from the Docker Host, the Docker Host creates Docker Volumes (with type nfs4) mapped to the nfs-container
. So the Docker Host needs to able to access this nfs-container
. Furthermore, when the jupyterhub service creates jupyterhub notebook services on other Docker Nodes in your swarm, these Docker Nodes also need to be able to connected to the container on the "Main Node". So they connect to it by using the "Main Node's IP Address aka NFSSERVER_IP
" and the port (2049 or defined with NFS_PORT
in .env
file).
I hope this could clear things up for you. I know that the documentation is not very helpful right know, but I will updated it as soon as I completed v.1.0
from jupyterhub-deploy-swarm.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jupyterhub-deploy-swarm.