Assignment 2
Limited Time Offer!
For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!
What is docker
Docker is a containerization platform which we can build the applications and deploy the code.and it is an open source platform.it enables developers to package applications into the containers. Docker applications run in containers that can be used on any of the system.It is a platform for creating and managing containers that are isolated from one another but can communicate via defined channels. using docker to ship and run your containers is a low-cost way of building software more efficiently.
What is Container?
A container is a package of software that includes everything needed to run an application.it contains all the necessary elements to run in any environment. containers virtualize the os and run from anywhere.A single container might be used to run from a small microservice or s/w process to larger application.A container is a standard unit of software that packages up code and all its dependencies so the application runs quickly. images become containers when they run on Docker Engine.
What are top 5 advantage of Docker? in list format
–>Faster time to market
–>IT infrastructure reduction
–>Developer Productivity
–>Portability
–>Faster issue to resolution
What are top 10 commands you used today and oneline explnations
Docker start container – to start the container
Docker run -it ubuntu – to run ubuntu in docker
Docker inspect container – detailed information on constructs controlled by docker
Docker exec -it container bash – to enter into a container
Docker info – displays the number of containers and images
Docker pause container – pauses the container that is currently running
Docker unpause container – unpauses the container to running stage
Docker rm container – removes the container
Docker ps – List all the running containers
Docker stop -stop running the container