When Fedora meets Jupyter, Dockerness will show you the spatial light.
- Python 3.5.x
- R 3.3.x
- Jupyter 5.x (with Python and R kernels)
- GDAL library
- An unprivileged user
nbuser
with ownership overhome/nbuser
- A Jupyter Notebook runs at
http://localhost:8888
- Other pre-installed R pakcages and Python packages
Ensure you have Docker installed and run in background/daemon mode.
For macOS user, it is recommended to download the new docker for mac via hombrew-cask
.
brew cask install docker
After the installation, do
docker run -d -p 8888:8888 weihanglo/geo-jupyter
which will launch a Jupyter Notebook server instance in http://localhost:8888
.
Just open your firefox and work as normal!
If you need to share files/directories between docker container and the host machine, use -v
or --volume
flag to link the two volumes:
docker run -d -p 8888:8888 -v /path/to/host:/home/notebooks weihanglo/geo-jupyter
or simplify the host path to current work directory:
docker run -d -p 8888:8888 -v $(pwd):/home/notebooks weihanglo/geo-jupyter
You could also run alternative commands in the container.
docker run -it --rm weihanglo/geo-jupyter bash
Because I am a big fan of Fedora!!
MIT