Running GUI application On the Docker

What is Xserver ?

Steps to launch a gui container on docker

systemctl start docker

docker pull centos:latest

docker run -it --env= “Display” --name gui_os --net=host — volume = “$HOME/.Xauthority:/root/.Xauthority:rw” centos:latest

yum install firefox -y


yum install python3 -y

pip3 install jupyter

jupyter notebook --allow-root

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Flow & Error Control

Stop & Wait Protocol


The Future of Ops Careers — Honeycomb

Person in costume looking behind a red curtain.

Web Development With HHVM and Hack 6: Dictionaries

Right-to-Left in a web platform (1/6)

The Unbearable Lightness of Agile

A Simple MySQL Tutorial

Popular Libraries used in Python for UI Development

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


More from Medium

How to install Jenkins without installing Java?(Using docker)

MySQL/MyBatis | Using Dynamic Query

Plotting real-time graph from Bluetooth device using C#

File parameter in Jenkins Pipeline (creating file from input)