đź”… Launch a container on docker in GUI mode

đź”… Run any GUI software on the container

Solution:-

Step 01:- First I have to check the status and Pull the Centos Image from Docker hub.

“systemctl status docker”

“docker pull centos:latest

Step 02:- Check the docker images and launching a container

“docker run — network host -it — name task2_GUI — env “DISPLAY’’ centos:latest

Step 03:- Install a firefox in docker

“yum install python36 firefox -y”

Step 04:- install a jupyter

“pip3 install jupyter”

Step 05:- jupyter notebook — allow-root

Step 06:- Launching a jupyter

— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — →

That’s All

Thankyou watching this solution

→Priyansh kushwaha

--

--