https://github.com/informaticsmatters/docker_jupyter
https://github.com/informaticsmatters/docker_jupyter
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/informaticsmatters/docker_jupyter
- Owner: InformaticsMatters
- Created: 2017-10-02T09:38:52.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-04-19T16:51:34.000Z (about 6 years ago)
- Last Synced: 2025-01-25T18:43:21.305Z (over 1 year ago)
- Size: 2.93 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Jupyter notebooks
Dockerfiles for building various flavours of Jupyter notebook
1. Minimal notebook with latest RDKit release [Dockerfile-rdkit-release-latest](Dockerfile-rdkit-release-latest)
1. Minimal notebook with latest RDKit beta [Dockerfile-rdkit-beta](Dockerfile-rdkit-beta) (Look at the deatils in [Anaconda](https://anaconda.org/rdkit/rdkit) for what this currently relates to)
NOTE: these Docker images are quite large and take some time to download!
## Running
Launch Jupyter with a command like this:
```
docker run -p 8888:8888 -e NB_UID=501 -e NB_GID=20 --user root -v /path/to/your/jupyter_notebooks/:/home/jovyan/work informaticsmatters/rdkit_jupyter start-notebook.sh
```
The NB_UID and NB_GID are specified so that files are created as your user ID. Adjust the values accordingly to match your user ID and group. The --user root is needed to allow the NB_UID and NB_GID to be specified.
Adjust `/path/to/your/jupyter_notebooks` to the location where yoy want your notebooks to be located on the host machine.
When you run this command a link with a token is written to the console. Open this in your web browser and you should be up and running.
NOTE: this approach is not suitable for publically facing machines. Additional security measures need to be put in place. See the Jupyter docs for more on this.