-
-
Save abkfenris/53c1dacca5fed296094e to your computer and use it in GitHub Desktop.
| FROM ipython/notebook | |
| MAINTAINER Alex Kerney <[email protected]> | |
| RUN apt-get install -y -q python-numpy python-scipy python-matplotlib python-pandas python-sympy python-nose |
Just made a repo https://github.com/ipython/docker-notebook
What about changing the CMD to something like python notebook --no-browser --port 8888 --ip=* --pylab inline
Ah, sure enough.
I definitely don't want the base ipython/notebook image to have pylab inline set. Willing to have an opinionated install that's easy to set up for students.
Any thoughts on how you would want the user of the notebook set up?
And that was me not reading what I pasted, here's the repo: https://github.com/abkfenris/docker-ipython-matplotlib
I just changed the CMD and it will override the one from base.
What do you mean 'how you would want the user of the notebook set up?' On my own computer I've tweaked the CSS, I think in the default profile, but thats about it.
If I do
%matplotlib inlineinstead of%matplotlibthat works fine:http://nbviewer.ipython.org/gist/abkfenris/672448d1c016e98b4115
This is also just
docker run -d -p 8889:8888 notebook