Run an Image on Another Machine

In this lesson, you will get a chance to run the image we published in the previous lesson on a machine where the image wasn't created.

This is a straightforward process. In fact, you already know how to do this; use the docker run command. Alternatively, get the image with docker pull then use it with docker run. This would be useful in case you plan to disconnect from the internet before running a container, for instance.

You can try it on your machine with Docker Engine or Docker Desktop installed. Run the following command:

Get hands-on with 1000+ tech skills courses.