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

為{幸葍}努か 提交于 2021-02-07 21:51:12

问题


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:


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



来源:https://stackoverflow.com/questions/41202983/login-password-required-to-access-jupyter-notebook-running-in-nvidia-docker-cont

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!