Skip to content

Instantly share code, notes, and snippets.

@fonylew
Created March 20, 2024 16:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fonylew/6307ca51dceec1424e60f71606c0b523 to your computer and use it in GitHub Desktop.
Save fonylew/6307ca51dceec1424e60f71606c0b523 to your computer and use it in GitHub Desktop.
Run Jupyter Notebook on Docker with GPU
docker run -d --gpus all -v $(realpath ~/notebooks):/tf/notebooks -p 8888:8888 tensorflow/tensorflow:latest-gpu-jupyter
@fonylew
Copy link
Author

fonylew commented Mar 20, 2024

Find all the tags here: https://hub.docker.com/r/tensorflow/tensorflow/tags?page=1&name=gpu

Note: The command in overview tab on that page is a little bit outdated. Hence this gist :)

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