Improved jupyter container
parent
80feb0690c
commit
41ee2dc5b7
|
@ -6,7 +6,7 @@ This directory contains build files for a complete jupyter environment. It is ba
|
||||||
- https://github.com/rgriffogoes/scraper-notebook
|
- https://github.com/rgriffogoes/scraper-notebook
|
||||||
- https://github.com/sharpTrick/sage-notebook
|
- https://github.com/sharpTrick/sage-notebook
|
||||||
|
|
||||||
The images these files produce contain everything you could possibly want in a jupyter notebook. Unfortunately, this also means that they take forever to build.
|
The images these files produce contain everything you could possibly want in a jupyter notebook. Additional packages can be installed in notebooks with `%%bash` magic.
|
||||||
|
|
||||||
|
|
||||||
## Building the Image
|
## Building the Image
|
||||||
|
|
|
@ -13,3 +13,13 @@ services:
|
||||||
# host:container
|
# host:container
|
||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:8888:8888"
|
- "127.0.0.1:8888:8888"
|
||||||
|
|
||||||
|
# Allow GPU access.
|
||||||
|
# Requires nvidia-containter-toolkit
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
reservations:
|
||||||
|
devices:
|
||||||
|
- driver: nvidia
|
||||||
|
count: 1
|
||||||
|
capabilities: [gpu]
|
Loading…
Reference in New Issue