Configuration
Physical Machine
Hardware
->Operating System
->One specific application deployed
.
Virtualization
Takes complete hardware resources, CPU processing power, Memory and RAM etc and started distributing it to various virtual machines using software called Hypervisor.
Hardware
->Host Operating System
->Hypervisor
->Guest OS
->Applications deployed
.
Containers
Hardware
->Host Operating System
->Container
->Applications deployed
Application itself is contained in its own world, can be shipped to deployment.
Faster than Virtualization, Light-weight and Easy Deployment beacuse it directly deals with the Host OS/Hardware.
Docker Process
Developed our own App on a ubuntu image.
Create a docker file, a set of instructions which helps to build the docker image.
Build a docker image and then your docker container will run (with the help of our docker image)
Push the docker image to the docker hub and then it will be distributed to the Production Env and the QA
How do we run Docker
This command is gonna pull the centos image from the docker hub, to create our containers.
This command will run our docker centos image which was fetched from the hub with our custom linux name.
This command will list all our docker processess which is running in the background.
This command will execute our centos image and give us a bash shell.
These commands will delete all the containers/images present on the host and reclaims/returns the space utilised.
These commands returns the current status of our docker images.
These commands helps us to start | stop | restart any of the running containers, the stats command returns us the amount of memory used by the docker image
Last updated