you should type the Docker run command with the use of X11 Port.
docker run -it -v /tmp/.X11-unix/:/tmp/.X11-unix/ -e DISPLAY=$DISPLAY prithvi18/jupyter-notebook:v1
X11 Port Explanation
X11 is the graphical environment for most Unix or Unix-like systems, including *BSD and GNU/Linux; it provides access to screen, keyboard, and mouse. X11 is the Unix and Linux graphics drivers.
After you run the command you will get the terminal of your container then run the following command to launch jupyter notebook: jupyter notebook --allow-root
Content type
Image
Digest
Size
271.4 MB
Last updated
over 5 years ago
docker pull prithvi18/jupyter-notebook:v1