What is Docker?
Docker is the world’s leading software container platform which is designed to make it easier to create, deploy, and run applications. The main intention of Docker is to run multiple processes and apps separately from one another to make better use of your infrastructure while retaining the security you would have with separate systems.
How does Docker work?
The docker technology uses the Linux® kernel and features of the kernel, like Cgroups and namespaces, to segregate processes so they can run independently.
Docker provides an image-based deployment model. This makes it easy to share an application, or set of services, with all of their dependencies across multiple environment
Where to use Docker?
- Developers use Docker to eliminate “works on my machine” such as problems when collaborating on code with co-workers.
- Operators use Docker to run and manage apps side-by-side in isolated containers to get better compute density.
How to use Docker?
To use a docker, we need to define a custom image or pull one from Docker hub. And by using an image create a container.
What is Docker Image?
Docker Image is a list of read-only layers that represent file-system differences. Layers are stacked on top of each other to form a base for a container’s root filesystem. To put in simple word an image is a blue print (or class) of Container.
What is Docker container?
Container is running instance of a Docker image which allow a developer to pack an application with all of the parts it needs, such as libraries and other dependencies, and ship it all out as one package.