ARTH — Task 26 👨🏻‍💻

Task Description📄

📌 GUI container on the Docker

🔅 Launch a container on docker in GUI mode

🔅 Run any GUI software on the container

TASK STARTS….

STEP:2: CREATE DIR AND START DOCKER…

* create directory : mkdir <dir_name>
* open with directory : cd <dir_name>
* start docker : systemctl start docker
* status docker : systemctl status docker

STEP:3: CREATE DOCKERFILE…

* create file : vim Dockerfile

STEP:4: BUILD DOCKER IMAGE…

CMD: docker build -t <img_name> .TO CHECK : docker images

STEP:5: LAUNCH FIREFOX…

CMD: docker run -it --env="DISPLAY" --net=host --name firefox <img_name>

FINALLY LAUNCHED!!!

TASK ENDS…