Docker and CI/CD · Junior · Question 2 of 75
What is the difference between an image and a container?
- 1They are two names for the same thing in different Docker versions
- ✓Correct answer: An image is a read-only template; a container is a running instance of it
- 3An image is a running process; a container is the file it was built from
Explanation
Like a class and its objects: one image can start many containers. Each container adds its own thin writable layer on top of the image.