✨Launch GUI Application(Jupyter) on the Top of Docker. 🐬😍

Srushti Patil
3 min readMay 30, 2021

🙋‍♀️✨Hello Everyone, today I am going to launch the jupyter on of the GUI application inside docker container….

Task Description 📃📃

📌 GUI container on the Docker

💢 Launch a container on docker in GUI mode

💢 Run any GUI software on the container.

🤩Let’s see the steps to launch it !!

🔰 Step 1 : Firstly , we have to pull the docker image then after we will launch the container of that image , here we are going to pull centos: 7 . you can pull it from docker hub too.

docker pull centos:7

🔰 Step 2 : Now run the container. launch the centos:7 container.

docker run -it — name jupyter_gui2 — net=host — env=”DISPLAY” — volume=”$HOME/.Xauthority:/root/.Xauthority:rw” centos:7

🔰 Step 3 : Our container is running now install firefox and python in that container, because when we launch jupyter it needs browser and supported language package.

yum install python36 firefox -y

🔰 Step 4 : After installing firefox we need to install some packages to run the jupyter , so here we are going to install python36. In python36 we are going to install jupyter using pip3 command. Let’s see how it works.

pip3 install jupyter

Here our jupyter is ready with python36 package.

🔰 Step 5 : Now it’s time to launch our GUI app i.e. jupyter inside the docker container.

jupyter notebook

😍So guys in this way we can run the jupyter on the top of docker…🐬🙌💯

Thank you so much for reading !!!🙌🙏💯

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Srushti Patil
Srushti Patil

Written by Srushti Patil

I am srushti patil from 3rd yr of B.E(IT) . Studying at NDMVP'S KBTCOE, Nashik✨😍💯. Learner at Linux world .

No responses yet

Write a response