GUI Container on the Docker!!!

Kanishka Shakya
3 min readApr 9, 2021

--

We will be performing task that will be launching the docker container in Graphical User interface mode.

Task Description 📃

⚫Launch a container on docker in GUI mode

⚫ Run any GUI software on the container

In order to launch a Docker container we will be requiring a OS ,for this task we will be using a RHEL8 (Red Hat Enterprise Linux 8) OS with docker installed in it.

1.Firstly, we need to configure Docker inside our machine. Let’s check out docker is configured is this system or not.

you can see, Not configured docker

2. Now, create a docker repository.

3. Let’s check repository.

4.Now, Install the docker.

5.Check the docker version and start the service and also check the status of docker whether docker is running on the OS or not.

6. Check the existing images and launch container and also pull the images of centos.

7. docker images pulled and create a workspace for our task and also create a docker file.

8.Now,create docker image for firefox.

We can see after launching the new container Firefox has been opened in the GUI mode and that shows the GUI support to our docker container.

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

--

--

Kanishka Shakya
Kanishka Shakya

Written by Kanishka Shakya

Aviatrix Certified Engineer | DevOps | Python | Big Data | RHCSA 8 | AWS-CSA | AWS-DEVELOPER | Ansible | Docker | CKA & CKAD | GIT & GITHUB |

No responses yet

Write a response