Prerequisites
- You have to already install Docker in OS.
- you can visit my previous story where I'm installing docker in centos.
Link 👉🏻 Pull the Docker container image of CentOS image from DockerHub
Pull one image into centos
docker pull centos
Start docker container.
docker run — net=host -it — name c1 centos
Install one GUI application, I am installing firefox.
yum install firefox -y
Now launch one more container with env $DISPLAY, and install firefox.
docker run -it — net=host — env=”DISPLAY” centos
Now we can check by firefox installed or not using by given commands.
firefox
We can also install some more applications
Install jupyter Notebook
pip3 install jupyter
Run jypyter Notebook
jupyter notebook
Hope you find this article Helpful !!
For any query contact me by Linkedin Profile.
This is my github repository :-
Thanks for Reading :)