Overview of Docker and Container – by Gorsa Lakshmi Niharika

Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

What is Docker?

Docker is a open source containerization platform, where it enables all the developers to package applications into containers. In a low level definition of Docker, it is an tool for handling and managing all the containers. It is based on the idea where one can package code with all the dependencies. Containers will be around for good amount of time. Docker reduces the usage for more infrastructure resources into the development.

Docker Overview

Benefits of Docker:

  • Great for Investment as well as saving cost
  • Ease in the deployment
  • Security
  • Continuous Integration
  • Speed
Container Overview

What is Container?

Containers are the sub group of docker, where it runs our application. It is fully independent application run time environment. Container is an docker image, and a form of operating system virtualization. A single container can be able to run anything from small microservices to a larger applications. One can create, start, stop, move, or delete a container.

Top 10 commands discussed in today’s session:

  1. ls – shows all files in the current directory
  2. docker ps – lists the running containers by default
  3. docker images – Displays the set of images available in current directory
  4. ping 172.12.0.2 – Ping the external IP for setting up the connection
  5. docker pull httpd – Installation of the Apache 
  6. docker image inspect – Display detailed information one or more images
  7. docker run -itd ubuntu – for installation of ubuntu
  8. docker exec -it <container-id> bash – To go inside the container id
  9. apt-get install – Installs the required resources in ubuntu
  10. docker version – checking the version of installed docker
Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x