Images Are Created Locally

In this lesson, we are going to briefly discuss the advantages of having locally stored images.

When I run the docker build command to create an image from a Dockerfile file, the resultant image is stored locally on the computer where the docker build command is run.

This allows me to run as many containers as I want from the locally created image, but the chances are that I want other computers to be able to run containers from the image I created. We’ll learn how to do that in the next chapter.

I can see the images available locally on my computer by running the following command:

Get hands-on with 1000+ tech skills courses.