RUNNING GUI APP INSIDE DOCKER CONTAINER.
Absar Qureshi
Bachelor of Engineering(Computer Science) || Master of Business Administration(Financial Management)
1-Check whether docker services are running or not.
2-Pull any image , in my case I pulled centos latest .
3- Now launch the container with below command.
docker run -it --net=host --env="DISPLAY" centos:latest
4-After successfully launching container, install firefox.
5- Now after we run firefox command, firefox(which is a GUI application) will run successfully.
THANKS FOR READING!
DevOps Engineer at Comprinno Technologies | AWS Certified Security - Specialty
3 年Very useful