DEV Community

Cover image for GUI container on the Docker
Subhash Tyler 🚀
Subhash Tyler 🚀

Posted on

GUI container on the Docker

GUI container on the Docker
🔷 Launch a container on Docker in GUI mode
🔷 Run any GUI software on the container
In this Article I have explained how to launch firefox and Jupyter Notebook GUI application inside Docker container.

step 1: docker run -it --net=host --env=DISPLAY centos
this will pull centos image and run both at a time.

step 2: yum install firefox -y

step 3: yum install python3 -y

step 4: pip3 install jupyter

step 4: jupyter notebook --allow-root

This will successfully run Jupyter notebook on Firefox browser.

Top comments (0)