GNU/Linux xterm-256color zsh 832 views

What’s happening here?

  1. First, the IfSharp repo is cloned.
  2. Then we go into the IfSharp directory.
  3. We then build the Docker image from the Dockerfile with docker build -t ifsharp:3.0.0-alpha ..
  4. We then run the image using docker run -d -v your_local_notebooks_dir:/notebooks -p your_port:8888 ifsharp:3.0.0-alpha. Change the port and the notebook location.
  5. After that, we use docker psto see the running container. We copy the id if the running container.
  6. We open a bash shell inside the running container with docker exec -it the-container-id /bin/bash. Replace the-container-id with the container ID we copied.
  7. Run jupyter notebook list to see the running notebook. Copy the token after the ?token= part of the URL.
  8. Open the notebook in localhost and paste the token to get access to the notebook.