Run GUI Application Inside Docker Container..

Dolly Mehra
Jun 1, 2021

Step 1. Start Docker

command: systemctl start docker

Step 2 . Check Docker Status

command: systemctl status docker

Step 3. Pull the Docker Image

command: docker pull centos:latest

Step 4. Launch Container

command: docker run -it — name docke-gui — net=host — env=”DISPLAY” — volume=”$HOME/.Xauthority: root/.xauthority:rw” centos:lastest

Step 5. Launch GUI application inside container

command: yum install firefox python3 -y

Step 6. Install jupyter inside docker container

command: pip3 install jupyter

Step 7. Launch jupyter notebook inside container

command: jupyter notebook — allow-root

Task Completed successfully!

My LinkedIn Profile:

https://www.linkedin.com/in/dollymehra/

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Dolly Mehra
Dolly Mehra

No responses yet

Write a response