We then build the Docker image from the Dockerfile with docker build -t ifsharp:3.0.0-alpha ..
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.
After that, we use docker psto see the running container. We copy the id if the running container.
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.
Run jupyter notebook list to see the running notebook. Copy the token after the ?token= part of the URL.
Open the notebook in localhost and paste the token to get access to the notebook.