GUI Application on Docker Container
This article is about how we can run an GUI application on top of the docker container.
Docker:
Docker is a software platform for building applications based on containers — small and lightweight execution environments that make shared use of the operating system kernel but otherwise run in isolation from one another.
In simple terms, Docker is a software platform that simplifies the process of building, running, managing and distributing applications. It does this by virtualizing the operating system of the computer on which it is installed and running.
GUI(Graphical User Interface):
The graphical user interface is a form of user interface that allows users to interact with electronic devices through graphical icons and audio indicator such as primary notation, instead of text-based user interfaces, typed command labels or text navigation.
Steps to run a GUI application in docker container:
Step 1: First step is to pull the docker image. I am pulling centos you can pull another image also.
Step 2: Next step is to run the docker container. The name of my docker container name is myGUI you can use any name that you like.
Step 3: Next step is to install the firefox which is my GUI application that I am going to run you can use another software as well.
Step 4: Now as firefox is installed I can launch my application.
Firefox is launched:
We successfully launched our GUI application on docker container.