Running A GUI Application On Container

Atul Nikade
Jun 1, 2021

--

Step1: create a directory with the command “mkdir foldername”

step2 : pull the docker image with the command “docker pull imagename:version”

step3:In the directory create one docker file with the command “vim Dockerfile” and locate the image name , software name and location of the software.

step4: go into the container and install firefox with the command “yum install firefox”

step5:build the image name with the command “docker build -t a1:v1”

step6: run a docker container and give the display environment by using command — env=“DISPLAY” — net=“host”

Output:

--

--

No responses yet