Docker, Basic Terminologies

Docker, Basic Terminologies

Docker is one of the most used terminologies in the Devops space, To understand docker in depth, we might need to understand some basic terminologies, In this article we will covering up three most used terminologies in docker.

Photo by OpticalNomad on Unsplash

Containers

A container is what we eventually want to run and host in Docker. You can think of it as an isolated machine, or a virtual machine if you prefer.

From a conceptual point of view, a container runs inside the Docker host isolated from the other containers and even the host OS. It cannot see the other containers, physical storage, or get incoming connections unless you explicitly state that it can. It contains everything it needs to run: OS, packages, runtimes, files, environment variables, standard input, and output.

Image

Any container that runs is created from an image. An image describes everything that is needed to create a container; it is a template for containers. You may create as many containers as needed from a single image.

Registry

Images are stored in a registry. In the example above, the app2 image is used to create two containers. Each container lives its own life, and they both share a common root: their image from the registry.

Let me know your thoughts on the above article or if I missed something to cover in the comment section, Thanks for dropping by..