Authenticating Jupyter Notebook inside Docker keeps resulting in invalid token Authenticating Jupyter Notebook inside Docker keeps resulting in invalid token docker docker

Authenticating Jupyter Notebook inside Docker keeps resulting in invalid token


You probably did not forward the port from the container to the host when running the container:
docker run -it -p 8888:8888 tag --port=8888
But that should give you a ERR_CONNECTION_REFUSED unless you already have a jupyter running locally on 8888, which of course does not recognize the token from docker instance. Try to run the container with port forwarding and make sure it's a different port than any local instances.