Skip to content

Instantly share code, notes, and snippets.

@andreibosco
Created May 4, 2020 15:54
Show Gist options
  • Save andreibosco/817d7769ed482c694254e7a9d2142535 to your computer and use it in GitHub Desktop.
Save andreibosco/817d7769ed482c694254e7a9d2142535 to your computer and use it in GitHub Desktop.
Launching jupyter from tensorman (Pop!_OS 20.04)

Launching jupyter from tensorman (Pop!_OS 20.04)

Source: pop-os/tensorman#10 (comment)

When launching a container, be sure to supply the port mappings argument to map the port from the container to the host.

tensorman run -p 8888:8888 --gpu --python3 --jupyter  bash

Within the container, you may start the Jupyter notebook with

jupyter notebook --ip=0.0.0.0 --no-browser

Which will give you the address and token to use for accessing it from your host OS, like so: http://127.0.0.1:8888/?token=bb826e8887076ecf3b1912a5e8f848e8029773bb04ad4990

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