Don't know your password, use Jupyter Notebook now! It is for those who are.
Rather, it is a memorandum for myself.
Docker-toolbox on virtualbox on Windows 10
$ docker pull jupyter/datascience-notebook
For the time being, I chose the "jupyter / datascience-notebook" that contains various items, Use Notebook because it's okay! I think that "jupyter / notebook" is fine.
docker run -d --name notebook -p 8888:8888 -v /c/Users/[User]/[Work]:/home/jovyan/work -e GRANT_SUDO=yes jupyter/datascience-notebook
For "[User] / [Work]", specify your own user name and working folder. Since it is specified with the "-v" option for data persistence and file sharing, If you don't need it, take this "-v ~ jovyan / work".
$ docker exec -it [Container ID] /bin/bash
jovyab@<Container ID>:~/work$
You can check "[Container ID]" with $ docker container ls
.
It may be obvious to those who know it, but you only have to type the first one or two letters (unless you are wearing something else).
If you want to know more about the "exec" command etc. Please go to Difference between operation attach and exec in Docker container --Qiita.
jovyab@<Container ID>:~/work$ jupyter notebook list
Currently running servers:
http://localhost:8888/?token=<token> :: /home/jovyan/work
If you copy and paste the above "http: // ~
It should be running now!