https://github.com/bdevans/brian-docker
Brian 2 Dockerfile
https://github.com/bdevans/brian-docker
Last synced: 25 days ago
JSON representation
Brian 2 Dockerfile
- Host: GitHub
- URL: https://github.com/bdevans/brian-docker
- Owner: bdevans
- Created: 2016-07-28T21:00:17.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-09-12T12:11:36.000Z (over 9 years ago)
- Last Synced: 2025-04-09T00:06:32.197Z (10 months ago)
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Usage
=====
The Brian2 docker container may be built with the following command:
`docker build -t brian .`
The image may then be run with the following command:
`docker run -p 8888:8888 -v /host/folder:/home/jovyan/work brian`
This will publish the notebook server on port 8888 and mount a host folder (change `/host/folder` to the folder you want to mount in the container).
On Linux systems, the notebook can then be accessed by opening a browser at:
localhost:8888
On Mac and Windows systems, the container's IP address must first be found:
`docker-machine ip`
TODO
====
1. Automate builds: https://docs.docker.com/docker-hub/github/
https://docs.docker.com/docker-hub/builds/
2. Add plugin for switching environments via "Change kernel" in notebook
http://stuartmumford.uk/blog/jupyter-notebook-and-conda.html
#RUN pip install jupyter_environment_kernels
3. Fix TeX/MathJax for rich display content Remove `print` commands from tutorials