GUI CONTAINER ON THE DOCKER

GUI CONTAINER ON THE DOCKER

Task Description

??GUI container on the docker

??Launch a container on Docker in GUI mode

??Run any GUI software on container

GUI CONTAINER ON THE DOCKER

Docker is the best tool you can use if you want to develop one single application that can run and work uniformly at any environment, laptop or public cloud instance.

Benefits of Docker

  • Test, Roll Back, and Deploy.
  • Flexibility.
  • Collaboration, Modularity, and Scaling. and many more

After researching about Docker GUI, I concluded that very less used case where docker container is used for GUI purposes.

But if we need to run GUI on docker then we need to understand some of the basics things.

If we want to run UI application on top of the container. Then we need to connect our container to our display of baseOS, as container is minimum and can remove and manage more effectively.

see whether the docker is active or not by using

#systemctl status docker

If it is active then we can so further do further step

No alt text provided for this image

In my case i am not enable permanent Docker so i am active it

STEP 1 : Docker file to build an image with a sample GUI application , here firefox

No alt text provided for this image

STEP 2: Launch an image on docker

No alt text provided for this image


No alt text provided for this image

Step 3 : Install Firefox

COMMAND : # yum install firefox

No alt text provided for this image


Then install the python 3.6 version

No alt text provided for this image

Python successfully Install

No alt text provided for this image

For seeing the GUI in Firefox run FireFox on Centos OS

No alt text provided for this image

You can see that the GUI of centos on firefox

No alt text provided for this image

Thanks for reading this article.............

For any queries DM me or suggestion regarding highly appreciated



要查看或添加评论,请登录

Nehal Ingole的更多文章

  • Machine Learning for CyberSecurity

    Machine Learning for CyberSecurity

    Security have been a major issue in today’s digital world organizations does there business via the websites/ webapp…

    2 条评论
  • K-means Clustering

    K-means Clustering

    Clustering Clustering is one of the most common exploratory data analysis technique used to get an intuition about the…

  • WordPress

    WordPress

    ARTH - Task 18 ??????? Task Description?? ?? Create an AWS EC2 instance ?? Configure the instance with Apache…

  • Using Face Recognition to send a mail ?? , WhatsApp ?? and launching AWS instance ??

    Using Face Recognition to send a mail ?? , WhatsApp ?? and launching AWS instance ??

    So In this task we are using the Face Recognition model to recognize someone's Face and after that we will ask the…

    2 条评论
  • JavaScript

    JavaScript

    JavaScript is a light-weight object-oriented programming language that is used by several websites for scripting the…

  • Images Processing with python

    Images Processing with python

    Hello Guys !! In this article we are going to learn about the Images Processing with the help of python but before that…

  • Cyber Security And Confusion Matrix

    Cyber Security And Confusion Matrix

    Hello everyone, In this article we will discuss what role does Confusion Matrix plays in the Cybersecurity field?? As…

  • LVM in Hadoop

    LVM in Hadoop

    What is Hadoop? Apache Hadoop is the software it is a collection of open-source software utilities that facilitates…

  • Create a partitions using python

    Create a partitions using python

    In this task we are going to see how to Create a partitions using python for the python code you can visit to my GitHub…

    1 条评论
  • PARTITION IN LINUX

    PARTITION IN LINUX

    In this task we going to see how to create a PARTITION IN LINUX First add a Hardisk to the ec2 instances Then install…

社区洞察

其他会员也浏览了