login password required to access jupyter notebook running in nvidia-docker container

4.8k views Asked by At

I run this command in the following order in order to run tensoflow in docker container after successful installation in Ubuntu 16.04 (NVIDIA GPU GeFORCE 840M) .

1.sudo service docker start 2.sudo nvidia-docker run -it -p 8888:8888 gcr.io/tensorflow/tensorflow:latest-gpu

Then I try to access jupyter in firefox browser by typing localhost:8888 and I am asked to enter the login password in the browser. What is the solution?

1

There are 1 answers

1
gspoosi On BEST ANSWER

add option "-e PASSWORD=password" to set the environment variable. The set password is then the password for the jupyter login.