User Tools

Site Tools


docker:docker_images_vs._container

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
docker:docker_images_vs._container [2020/04/15 18:57] – created peterdocker:docker_images_vs._container [2020/07/15 09:30] (current) – external edit 127.0.0.1
Line 9: Line 9:
 Images are basically a template used to create containers. Images are basically a template used to create containers.
  
-An image is an inert, immutable, file that's essentially a snapshot of a container. +  * An image is an inert, immutable, file that's essentially a snapshot of a container. 
- +  Images are created with the **[[http://docs.docker.com/reference/commandline/cli/#build|build]]** command, and they'll produce a container when started with **[[https://docs.docker.com/reference/run/|run]]**. 
-Images are created with the **[[http://docs.docker.com/reference/commandline/cli/#build|build]]** command, and they'll produce a container when started with **[[https://docs.docker.com/reference/run/|run]]**. +  Images are stored in a Docker registry such as **[[https://registry.hub.docker.com/|registry.hub.docker.com]]**. 
- +  Because they can become quite large, images are designed to be composed of layers of other images, allowing a minimal amount of data to be sent when transferring images over the network.
-Images are stored in a Docker registry such as **[[https://registry.hub.docker.com/|registry.hub.docker.com]]**. +
- +
-Because they can become quite large, images are designed to be composed of layers of other images, allowing a minimal amount of data to be sent when transferring images over the network.+
  
 Local images can be listed by running: Local images can be listed by running:
docker/docker_images_vs._container.1586977054.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki