What is docker and container ?

What is Docker ?

Answer : Docker helps in containerization of apps , so that app app gets it own environment to run.

What is a container ?

Containers virtualize the operating system unlike VMs. Containers are portable with that it means it can do development and deployment . In terms of docker its also runnable instance of image.

Benefits of Docker ?

  1. Fast to create unlike VMs
  2. Since OS is not contained its light weight
  3. container also contains the required versions of other applications needed for the app
  4. Any number of containers can be spin quickly

Docker Architecture ?

Docker uses client-server architecture . One of the important component is registry . eg app store , jfrog all the registries

Container Lifecycle ?

Create – run -stopped- pause-delete

How docker worker?

Docker images contains all the dependencies needed to run code inside a container. Docker is a container engine basically.