In this blog, we’ll try to understand how we can run GUI applications inside docker. We will run some of the GUI applications in docker.

What is Docker?

  1. Docker is a set of platform as a service (PaaS) products that use OS-level virtualization to create, deploy and run applications in packages called containers.
  2. Containers are isolated from one another and bundle their own software, libraries, and configuration files; they can communicate with each other through well-defined channels.
  3. All of the containers share the services of a single operating system kernel, they use fewer resources than virtual machines.

Running GUI Application in Docker

  1. Creating Dockerfile
gedit Dockerfile
Dockerfile

2. Building Image

docker build -t mygui:v1 .

--

--