Where Do Images Come From?
Throughout this chapter, we have been using images to create containers; but where do images come from? We explore just that in this lesson.
We'll cover the following...
Each container is created from an image. You provide the image name to the docker run command. Docker first looks for the image locally and uses it when present. When the image is not present locally, it is downloaded from a registry.
You can list the local images using the following command: docker image ls
When an image is published to a registry, its name must be: ...