Skip to content

Instantly share code, notes, and snippets.

@ramiruhayel
Created October 1, 2017 13:43
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ramiruhayel/63ae22b5926a88e2e6dc2bd5d9339c84 to your computer and use it in GitHub Desktop.
Save ramiruhayel/63ae22b5926a88e2e6dc2bd5d9339c84 to your computer and use it in GitHub Desktop.
Docker compose file for a Jupyter Data Science Notebook w/ volume mapping and port forwarding.
version: "3"
services:
datascience-notebook:
image: jupyter/datascience-notebook
volumes:
- /Absolute/Path/To/Where/Your/Notebook/Files/Will/Be/Saved:/home/jovyan/work
ports:
- 8888:8888
container_name: datascience-notebook-container
@ramiruhayel
Copy link
Author

Don't forget to change the path /Absolute/Path/To/Where/Your/Notebook/Files/Will/Be/Saved to the path on your local machine where you want your work to be saved to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment