in Continuous Integration by
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
by

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
asked Nov 27, 2019 in DevOps by rajeshsharma
+1 vote
asked Apr 5, 2020 in Docker by ryan harris
0 votes
0 votes
asked Mar 9, 2020 in DevOps by Hodge
+1 vote
asked Feb 21 in Docker by SakshiSharma
+1 vote
asked Aug 6, 2020 in Continuous Integration by Robindeniel
0 votes
asked Dec 1, 2019 in DevOps by SakshiSharma
0 votes
asked Mar 9, 2020 in DevOps by Hodge
...