Answer the question
In order to leave comments, you need to log in
What is the difference between a docker-container and a docker-image?
What is the difference between a docker-container and a docker-image? They write that the image is a class type and the container is a service type. But I still can't see the difference.
Answer the question
In order to leave comments, you need to log in
An image is a cast consisting of layers of the file system, in other words ..
All layers in the image are read-only.
When you create a container from an image, another layer is layered and you can write to
it. speaking, an image instance is a container with the ability to write something there
. A container can be committed, it will become an image, which means that its top layer, the one where you could write something, will become read only, that's all the magic...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question