GUI CONTAINER ON THE DOCKER
Nehal Ingole
Jr React Developer at Kshan Tech Soft Pvt Ltd || DevOps | Full Stack Development | CICD | React Native
Task Description
??GUI container on the docker
??Launch a container on Docker in GUI mode
??Run any GUI software on container
GUI CONTAINER ON THE DOCKER
Docker is the best tool you can use if you want to develop one single application that can run and work uniformly at any environment, laptop or public cloud instance.
Benefits of Docker
- Test, Roll Back, and Deploy.
- Flexibility.
- Collaboration, Modularity, and Scaling. and many more
After researching about Docker GUI, I concluded that very less used case where docker container is used for GUI purposes.
But if we need to run GUI on docker then we need to understand some of the basics things.
If we want to run UI application on top of the container. Then we need to connect our container to our display of baseOS, as container is minimum and can remove and manage more effectively.
see whether the docker is active or not by using
#systemctl status docker
If it is active then we can so further do further step
In my case i am not enable permanent Docker so i am active it
STEP 1 : Docker file to build an image with a sample GUI application , here firefox
STEP 2: Launch an image on docker
Step 3 : Install Firefox
COMMAND : # yum install firefox
Then install the python 3.6 version
Python successfully Install
For seeing the GUI in Firefox run FireFox on Centos OS
You can see that the GUI of centos on firefox
Thanks for reading this article.............
For any queries DM me or suggestion regarding highly appreciated