1)What is Docker? – 5 lines with 1 images
Limited Time Offer!
For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!
Docker is an open-source containerization platform used for developing, deploying, and managing applications in lightweight virtualized environments called containers.
It is mainly used as a software development platform for developing distributed applicationsย that work efficiently in different environments. By making the software system agnostic, developers donโt have to worry about compatibility issues. Packaging apps into isolated environments (containers) also makes it easier to develop, deploy, maintain, and use applications.
2)ย What is Container? – – 5 lines with 1 images
Aย standard package of softwareโknownย as a containerโbundlesย an applicationโs code together with the related configuration files and libraries, and with the dependencies required for the appย to run. This allows developers and IT pros to deploy applications seamlessly across environments. Get started with Docker.
3)What are top 5 advantage of Docker?
- Faster time to market
- Developer Productivity
- Deployment velocity
- IT infrastructure reduction
- IT operational efficiency
- Faster issue to resolution
- Portability
4)What are top 10 commands you used today and oneline explnations.
๐๐จ๐๐ค๐๐ซ ๐ฉ๐ฌ – Lists various properties of containers.
๐๐จ๐๐ค๐๐ซ ๐ซ๐๐ฌ๐ญ๐๐ซ๐ญ – Stops and starts a container.
๐๐จ๐๐ค๐๐ซ ๐ฉ๐ฎ๐ฅ๐ฅ – Pulls an image or a repository from your local registry
๐๐จ๐๐ค๐๐ซ ๐ก๐ข๐ฌ๐ญ๐จ๐ซ๐ฒ – Displays the history of an image.
๐๐จ๐๐ค๐๐ซ ๐ฌ๐ญ๐๐ซ๐ญ – Starts already stopped containers.
๐๐จ๐๐ค๐๐ซ ๐ฌ๐ญ๐จ๐ฉ – Stops running containers.
๐๐จ๐๐ค๐๐ซ ๐ซ๐ฆ – Remove containers.
๐๐จ๐๐ค๐๐ซ ๐ซ๐ฆ๐ข – Remove images
docker info
– Shows system-wide information.
๐๐จ๐๐ค๐๐ซ ๐๐ฑ๐๐ – Runs a command in a container that is active or running.
๐๐จ๐๐ค๐๐ซ ๐๐จ๐ฆ๐ฆ๐ข๐ญ – Creates a new image from the current changed state of the container.