Posts

Showing posts from June, 2021

GUI Application in Docker

Image
  GUI Application in docker container Interface is a device or program that enables the user to communicate with the computer. Graphical User Interface  that allows users to interact with electronic devices through  graphical  icons and audio indicator   Linux has Command Line Interface that processes commands to a computer program in the form of lines of text So, this blog is about how we can launch application of GUI inside docker Lets get started! Step 1) We will first start our docker service and  check docker images Step 2) We will pull centos:7 image "docker pull centos:7" and we will run a image through a container "docker run -it --name container_name centos:7" here os1 is the name of container. Step 3)   Now we will install firefox "yum install firefox " As we run the command firefox it is showing an error that " no DISPLAY enviornment variable  specified" to solve this error we have to specify enviornment Step 4) Now we will make...