In this project, the Docker container is used to build the environment. The Dockerfile is as follows: FROM tensorflow/tensorflow:1.14.0-gpu-py3 RUN pip install scipy==1.3.3 RUN pip install requests RUN pip install Pillow RUN pip install matplotlib RUN pip install pandas RUN pip install keras==2.2.4 RUN pip install scikit_learn==0.20.0 RUN pip install transformers==3.5.0 Create a docker container: sudo docker build - < Dockerfile After successful creation, label it: docker tag a7a1861d2150 datascience/text2animeface:v0.1 Then enter the container: sudo docker run --gpus all -it -p 8080:8080 -p 8888:8888 -d -v `pwd`:/mnt datascience/text2animeface:v0.1 Then install jupyter and start jupyter jupyter-notebook --allow-root The problem occurs. localhost:8888 cannot be accessed from outside, and telnet is also unavailable. Try repeatedly. There is no need to re-establish the container. Just use the following command to start Jupyter: jupyter-notebook --allow-root --ip=0.0.0.0 --port=8888 The IP address is bound to 0.0.0.0, which is any IP address, port 8888, This is the end of this article about the solution to the problem that jupyter cannot be accessed when opening a Docker container. For more related content about Docker jupyter cannot be accessed, please search for previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope you will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: Some properties in CSS are preceded by "*" or "_".
>>: Detailed explanation of basic interaction of javascript
Intersection Selector The intersection selector i...
Recently, due to the increase in buttons in the b...
When I was looking at some CSS3 animation source ...
I recently started learning Linux. After reading ...
1. CPU utilization sar -p (view all day) sar -u 1...
Development environment windows Development Tools...
Preface The language classification of SQL mainly...
Text carousels are very common in our daily life....
Table of contents 1. Open WeChat Pay 1.1 Affiliat...
In the XHTML language, we all know that the ul ta...
Table of contents 1. Quickly recognize the concep...
Preface During my internship at the company, I us...
This article uses examples to explain the princip...
structure body, head, html, title text abbr, acro...
IFNULL(expr1,expr2) If expr1 is not NULL, IFNULL(...