Launching Docker in GUI mode

step 1 : Start Docker and Launch Docker Image

systemctl start docker

docker image

Step 2 : Now run the docker image in GUI mode

docker run -it -e DISPLAY=$DISPLAY -v/temp/.X11-unix:tmp/.X11-unix — name GUI centos

Step 3: Now install firefox

yum install firefox

Step 4: Now install python3

yum install python3

Step 5 : Now install jupyter notebook

pip3 install jupyter

Step 6: Now launch the Jupter Notebook

jupyter notebook — allow-root

Step 7: Now click on the link that which come

Step 8: You are all set now use the jupyter notebook

--

--