Run Any GUI Program on Container
Have you ever thought of launching Zoom on Container
Amazed of hearing that !!
There are the Steps to Run Zoom on Container
Step 1:- Download Zoom Application on your Local Machine.
Step 2:- Pull Docker Image from you use this command docker pull centos
Step 3:- Create Dockerfile
FROM centosCOPY zoom* /RUN yum -y localinstall zoom_x86_64.rpmCMD [“/usr/bin/zoom”]
Command to Build Docker
docker build /root/Documents/docker/ -t zoom:V1
Depending upon the location.
name should be always root else it will terminate.
After creating an Image, It’s good practice to give an initialization server, X11 for Graphic.
For this, we have a command called xhost +
currently this server is enabled but you have to disable it for clients can connect from any host to display GUI program.
sudo docker run -it --rm -e --net=host --env="DISPLAY" -v /temp./X11-unix:/tmp/.X11-unix --net=host zoom:test
Execute the Command. It might give a give you a blank screen, I suggest double-clicking on it, Then you are good to go.