https://github.com/cmbant/docker-cosmologist
Cosmology platform with healpix, camb, gfortran, jupyter etc.
https://github.com/cmbant/docker-cosmologist
Last synced: 3 months ago
JSON representation
Cosmology platform with healpix, camb, gfortran, jupyter etc.
- Host: GitHub
- URL: https://github.com/cmbant/docker-cosmologist
- Owner: cmbant
- License: gpl-2.0
- Created: 2017-07-12T15:08:25.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-01-29T12:58:52.000Z (over 6 years ago)
- Last Synced: 2024-12-27T06:40:47.480Z (5 months ago)
- Language: Dockerfile
- Size: 9.77 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### Overview
Docker with healpy, CAMB, astropy, latest gcc/gfortran, plus latex, miniconda python, cfitsio
as needed for doing cosmology and running Jupyter notebooks. Builds on CosmoBox.GitHub: https://github.com/cmbant/docker-cosmologist
DockerHub: http://registry.hub.docker.com/u/cmbant/cosmologist/### Usage
To make an interactive shell ready for compiling you local code at /local/code/source
dodocker run -v /local/code/source:/virtual/path -i -t cmbant/cosmologist /bin/bash
Navigating into /virtual/path in the bash shell, you can then run make etc as normal, acting
on your local files.Host a virtual Jupyter Notebook server that you can then use from your local machine using
docker run -v /local/notebook/path:/notebooks -i -t -p 8888:8888 cmbant/cosmologist /bin/bash -c "/opt/conda/bin/jupyter notebook --notebook-dir=/notebooks --allow-root --ip='*' --port=8888 --no-browser"
and then view the by opening the URL it gives you, which will be under http://localhost:8888 in your browser, or http://:8888 if you are using a Docker Machine VM.