Docker with GUI

Abhijeet Bakale
2 min readJan 17, 2022

Docker is a software platform that allows you to build, test, and deploy applications quickly. Docker packages software into standardized units called containers that have everything the software needs to run including libraries, system tools, code, and runtime. Using Docker, you can quickly deploy and scale applications into any environment and know your code will run.

Running Docker on AWS provides developers and admins a highly reliable, low-cost way to build, ship, and run distributed applications at any scale.

In this blog we will learn how to launch docker container with capablity of gui

Launching a normal container over docker

Checking the version and installing firefox over it

But when we run this command we are not able to launch the firefox becouse our container doesnt has the gui capablities of our base system.basically the container doesnt have the x11 file of the base system.

Copying the x11 file to the docker container

Again installing firefox over it

Successs!!

Now the firefox is launching

Thanx for watching ☺️

--

--