Issue Type: Unable to access Jupyter Notebooks through Container.
I’m seeking to run code from the book (Generative Deep Learning by David Foster) using the supplied Dockerfile. I’m using the latest branch whose code can be found on Github here. The count is written in Jupyter Notebooks, and when I paste the URL for the Notebooks at this time I get a message of “The notebook list is empty”.
Notes to keep in mind:
I had the same issue previously before, but the problem was fixed by following instructions for specifying the mount. (From Nick Janetakis “Setting up Docker for Windows and WSL to work flawlessly”, sorry apparently as a newbie I can’t add more links.)
When I new update got pushed to github, I updated my machine and the problem has shown up again despite the fact that the previous fix sure still seems to be in place.
Windows 10 Pro
OS Build 19041.388
Docker Desktop Community
Version 2.3.04 (46911)
WSL 2 based engine
Steps to reproduce (I think, apologies if I’m missing something, as that seems like something that I might do as I’m new at this):
- Pull branch from github. Originally used:
git clone --single-branch --branch tensorflow_2 https://github.com/davidADSP/GDL_code.git
Later: git pull
Creates in new sub-directory /GDL_code
sudo nano /etc/wsl.conf
In GNU nano 4.8 add:
root = /
options = “metadata”
Then ^X to exit
ln -sf Dockerfile.cpu Dockerfile
docker build -t gdl-image-cpu .
docker run --rm -p 8888:8888 -it -v /C/users/matha/GDL_code:/GDL gdl-image-cpu
(/C/users/matha being specific to my set up.)
The last line gives these options in the output:
To access the notebook, open this file in a browser: file:///home/gdl/.local/share/jupyter/runtime/nbserver-1-open.html Or copy and paste one of these URLs: http://a92ee904a471:8888/?token=77b527ac3e14e2475f2f063c0ea8e9b688d7e215fcc25799 or http://127.0.0.1:8888/?token=77b527ac3e14e2475f2f063c0ea8e9b688d7e215fcc25799
I’ve been copying the last URL into my Chrome browser, and this is where it successfully showed directories of Jupyter Notebook files before, but now shows “The notebook list is empty.”
Thank you in advance for your help and your patience. I’m trying hard to figure this stuff out, but it’s a struggle.