GUI application inside Docker
Hello everyone🤗
This is the article on how to launch a GUI application inside Docker. I have used Redhat Linux as a docker host and CentOS as a container to launch firefox.
******************************************************************
Task_2 Description:
📍 Launch a container on docker in GUI mode
🏁 Run any GUI software(like firefox) on the container
******************************************************************
1.Create a workspace and then create a file inside it
2. Write the code below inside the file created
3. Build the image with the command:
docker build -t <image_name> .
- to check if the image is installed or not
4. Below is the code to launch GUI application on docker
dcoker run -it --env="DISPLAY" --net=host --name=<application_name> <created_image_name>
******************************************************************
Thanks for reading
😊
Great work 👍👍
Well done 💥
Good job man✨🎉
Great job MUKUL PRAMANIK🎉