Comments (4)
Part of the intended use for this is with tmpnb, so I wouldn't want to prescribe how the notebooks are stored. With tmpnb, you don't want them persisted at all, instead you'd want to link them in from some other location, like google drive, or you are free to use git within the jupyter terminal. The notebooks directory is completely up to the end user really, something that could easily be modified. I was more just providing an example.
I wonder if there is a solution where the directory is an input? I think the volume can be created with the run command. Otherwise, I'd suggest just extending off of this image using "FROM", then making your custom volume changes.
Open to ideas here.
from anaconda-notebook.
The docker compose docs suggest it may be possible to set a directory as an input using the volumes option.
from anaconda-notebook.
Looks like the regular docker run -v <host directory>:<guest directory>
works without modification to the image. See docker volumes documentation.
For me, this looked like the following command:
docker run -i -t -p 8888:8888 -v \
/Users/rothnic/Documents/workspace/notebooks:/home/condauser/notebooks rothnic/anaconda-notebook \
/home/condauser/anaconda3/bin/ipython notebook
This is just the regular run command executed by the dockerfile, except I've added the -v
option. You then provide it the place where your notebooks exist, then :
, then the place where we expect the notebooks to be in the container.
from anaconda-notebook.
Guys, are you able to save new notebooks because when I mount host directory like in your example I have permisson denied error.
from anaconda-notebook.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from anaconda-notebook.