1. What is docker?

  1. Docker is a tool which manages container.
  2. As a part of managing container it performs following operations like create, start, stop, restart, remove, pause, unpause etc.
  3. Its an open source platform.
  4. Docker image do not contain the kernel
  5. Docker consumes less ram, cpu and other resources comparing with the virtual server
Docker image

2. What is container?

  1. A container is a fully independent application runtime environment.
  2. It helps in running the applications.
  3. The container has a workflow for managing applications.
  4. Its has many packages of software
  5. It is an advance approach of solving.
Container image

3. What are top 5 advantages of docker?

  1. efficient
  2. flexible
  3. easy
  4. cost effective
  5. secure

4. What are the top 10 commands I used today and one line explanation ?

  1. docker images – displays the image details in a tabular form.
  2. docker stop {container id} – it stops that container specified.
  3. docker create httpd – creates the container
  4. exit – used to exit the container
  5. docker exec -it (cont id) bash – Helps to move inside the container
  6. docker inspect (cont id) – Gives information about the container.
  7. docker commit -m”ub-up-git-ap-java” -a “rajesh Kumar” 76e6a965fb86 ramukaka – It will create an image out of the container id specified.
  8. docker ps -a – displays the list of details
  9. docker rm (cont id) – removes that container from the list
  10. docker restart (cont id) – Restarts the container specified.
Notify of

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

Inline Feedbacks
View all comments
Would love your thoughts, please comment.x