Posts

Showing posts from November, 2021

How to Install & run docker inside docker?

Image
 ➤ Launch a container in “ privileged ” mode.  What is the “ privileged ” mode? "Docker privileged mode grants a Docker container root capabilities to all devices on the host system. Running a container in privileged mode gives it the capabilities of its host machine."           docker run -it --privileged --name docker centos  ➤ Install yum-utils & set-up repository   1.yum install -y yum-utils   2.yum-config-manager \ --add-repo \                                                        https://download.docker.com/linux/centos/docker-ce.repo   ➤  Now Install the Docker in launched container      yum install docker-ce -y ➤ Now start the Docker Daemon What is  Docker Daemon ? " Docker daemon  is installed on a host machine and essentially...

RUN GUI Applications In Docker Container

Image
  RUN GUI Applications In Docker Container  What is Docker? Docker is a containerization platform tool for building an application in which container contains packaged binary files and its library files with its required dependencies, and further these containers are easily shipped to run on other machines.           Each and every application runs on separate containers and has its own set of dependencies & libraries. What is a Docker container? Docker containers are basically runtime instances of Docker images.  Docker is a tool designed to make it easier to create, deploy and run applications by using containers.  Now, let’s see how to launch GUI application in Docker - 1.  Make & Go to Directory                mkdir dockergui                cd dockergui 2 . Create A Dockerfile & Write Commands .       ...