Access Jupyter notebook running on Docker container

前端 未结 10 1356
南旧
南旧 2021-01-30 00:21

I created a docker image with python libraries and Jupyter. I start the container with the option -p 8888:8888, to link ports between host and container. When I l

10条回答
  •  有刺的猬
    2021-01-30 00:43

    In the container you can run the following to make it available on your local machine (using your docker machine's ip address).

    jupyter notebook --ip 0.0.0.0 --allow-root

    You may not need to provide the --allow-root flag depending on your container's setup.

提交回复
热议问题