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
Sample code: import java.util.Random; import java...
Table of contents Preface Dockerfile What is a Do...
1. Download Go to the Apache official website htt...
(Win7 system) VMware virtual machine installation...
Problem Description When using Windows Server 201...
Table of contents question Solution question Ther...
Nginx (engine x) is a lightweight, high-performan...
Table of contents 1. Overview of MySQL Logical Ar...
Table of contents Install tinymce, tinymce ts, ti...
The SQL query statement execution order is as fol...
CSS background: background:#00ffee; //Set the back...
NC's full name is Netcat (Network Knife), and...
For reference only for Python developers using Ub...
When inserting a set of data into the MySQL datab...
Table of contents Integrity constraints Definitio...