ogrisel / docker-distributed Goto Github PK
View Code? Open in Web Editor NEWExperimental docker-compose setup to bootstrap distributed on a docker-swarm cluster.
Experimental docker-compose setup to bootstrap distributed on a docker-swarm cluster.
Am I making a mistake with the setup?
docker run ogrisel/distributed start-dscheduler.sh
The `dscheduler` command has been deprecated.
Please use `dask-scheduler` in the future.
Traceback (most recent call last):
File "/work/miniconda/bin/dscheduler", line 9, in <module>
load_entry_point('distributed==1.12.0', 'console_scripts', 'dscheduler')()
File "/work/miniconda/lib/python3.5/site-packages/distributed/cli/dscheduler.py", line 8, in go
go()
File "/work/miniconda/lib/python3.5/site-packages/distributed/cli/dask_scheduler.py", line 79, in go
main()
File "/work/miniconda/lib/python3.5/site-packages/click/core.py", line 716, in __call__
return self.main(*args, **kwargs)
File "/work/miniconda/lib/python3.5/site-packages/click/core.py", line 696, in main
rv = self.invoke(ctx)
File "/work/miniconda/lib/python3.5/site-packages/click/core.py", line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/work/miniconda/lib/python3.5/site-packages/click/core.py", line 534, in invoke
return callback(*args, **kwargs)
File "/work/miniconda/lib/python3.5/site-packages/distributed/cli/dask_scheduler.py", line 47, in main
ip = socket.gethostbyname(host)
socket.gaierror: [Errno -2] Name or service not known
I just got my own Docker-distributed setup working in a vanilla form, then discovered you already had one. I'm still relatively new to Docker, and especially to Docker Compose and Swarm, so I have a few questions I wanted to run by you.
Sorry if some of this got stream-of-consciousness, but I really enjoyed reading through what you've done so far.
@ogrisel
I noticed you added support for mounting a repo in your kubernetes set-up and I just wanted to understand better your workflow, as I'd like to be able to do something similar with a kubernetes implementation of jupyterhub.
When your notebooks and/or other files are updated while running on a container within kubernetes ... do you manually (maybe from a jupyter terminal) commit back to the repo? ... or is there some mechanism in kubernetes to automatically commit before a server session ends (preStop lifecycle hook)? Perhaps your use-case is just read-only?
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.