What is the difference between Docker image and Docker container?

Asked: Apr 30, 2023

Docker container is simply an instance of a Docker image. A Docker image is an immutable file, which is a snapshot of a container. We create an image with the build command. When we use the run command, an Image will produce a container.
In a programming language, an Imageisa Class and a Container are instances of the class.

Asked by brijesh
docker

Answers (0)

No answers yet. Be the first to answer!