Aug 6, 2020 in Continuous Integration
Q:

What is the difference between a Docker image and a container? What is the difference between a Docker image and a container?

1 Answer

0 votes
Aug 6, 2020

An instance of an image is called a container. You have an image, which is a set of layers. If you start this image, you have a running container of this image. You can have many running containers of the same image.

You can see all your images with docker images whereas you can see your running containers with docker ps (and you can see all containers with docker ps -a).

So a running instance of an image is a container.

Click here to read more about Continuous Integration
Click here to read more about Insurance

Related questions

0 votes
Aug 15, 2020 in Continuous Deployment
...