Launching GUI Applications Inside Docker Container.

  • Docker community version.
  • Docker enterprise version.
yum install docker-ce --nobest
systemctl start docker

Let’s start doing this task:

FROM centos:7
RUN yum install python3 -y
RUN pip3 install jupyter
CMD [“/usr/local/bin/jupyter”]
docker build . -t notebook
docker run -it --name OS1 --env=”DISPLAY” --net=host notebook jupyter notebook --alow-root




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

Recommended from Medium

Top C, C++ Books for Programming Enthusiasts


My First Automation Script

Build a CI/CD Pipeline with Docker and GitLab

Get started with ProductBeat


MeLand IDO Allocations + Details

Grand Pacific Trade Review -The new generation of trading services?

Python-algos: Sentence Reversal

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

Install Gitlab runner on ubuntu work with dind

Build Oracle Fusion Middleware (FMW) Weblogic 12c Admin Server Image for Kubernetes or Docker

Setting Up Docker on Ubuntu 20.04 Focal (Arm64) Oracle Cloud

Connect to Docker Service using hostname in Docker Swarm