1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-24 08:52:31 +02:00
dockerfiles/dask/README.md

31 lines
634 B
Markdown
Raw Normal View History

2020-01-22 07:49:26 +02:00
dask
====
[Dask][1] is a flexible library for parallel computing in Python.
2020-04-22 10:14:25 +02:00
## up and running
2020-01-22 07:49:26 +02:00
```bash
$ mkdir -p data/{jupyter,work}
$ chown -R 1000:100 data
$ docker-compose up -d
$ docker-compose logs -f notebook
$ curl http://127.0.0.1:8888
```
2020-04-22 10:14:25 +02:00
## make it public
```bash
$ docker exec -it xxxxxx bash
>>> jupyter notebook password
Enter password: ****
Verify password: ****
[NotebookPasswordApp] Wrote hashed password to ~/.jupyter/jupyter_notebook_config.json
$ docker service update --force dask_notebook
```
- <https://jupyter-notebook.readthedocs.io/en/stable/public_server.html>
2020-01-22 07:49:26 +02:00
[1]: https://docs.dask.org/en/latest/