1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-27 01:08:37 +00:00
dockerfiles/dask/README.md

31 lines
634 B
Markdown
Raw Normal View History

2020-01-22 05:49:26 +00:00
dask
====
[Dask][1] is a flexible library for parallel computing in Python.
2020-04-22 08:14:25 +00:00
## up and running
2020-01-22 05:49:26 +00: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 08:14:25 +00: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 05:49:26 +00:00
[1]: https://docs.dask.org/en/latest/