Docker Image Vs Docker Container

preview_player
Показать описание
Hey, guys welcome back to the channel and today we are doing another quickie video where we will see the difference between docker container and a docker image.
If you've found answers like a container is running an image , or an image is a template to start up a container, well these answers are only partially right.

If know docker, then you know that we use a docker file to build docker images
each statement in a docker file is a layer - so a docker image is a stack of read-only layers one on top of the other.
When you spin a container from this image, you add a read-write layer on top of all these existing layers - layer is called the container layer.

Рекомендации по теме