Skip to content

Add Dockerfile#90

Open
andyyPark wants to merge 4 commits intoDifferentiableUniverseInitiative:masterfrom
andyyPark:docker
Open

Add Dockerfile#90
andyyPark wants to merge 4 commits intoDifferentiableUniverseInitiative:masterfrom
andyyPark:docker

Conversation

@andyyPark
Copy link
Copy Markdown

@andyyPark andyyPark commented Apr 8, 2022

Addresses #88 - it's using tensorflow-gpu as the base image (it doesn't work on arm64 processor at the moment).

To build the docker image manually, run:

docker build -t jax_cosmo .

To execute jax_cosmo in a jupyter notebook within the docker image:

  • Host machine: docker run --rm -it -p 8888:8888 jax_cosmo
  • Inside the container: jupyter notebook --ip 0.0.0.0 --port 8888 --no-browser --allow-root
  • Access the notebook on : localhost:8888

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant