Container Lifecycle

Starting the container

Let’s start a container with the docker container run, so we can walk it through its entire lifecycle.

The following examples will be from a Linux Docker host running an Ubuntu container. However, all of the examples will work with the Windows PowerShell container from previous examples. Obviously, you’ll have to substitute Linux commands with their equivalent Windows commands.

Get hands-on with 1200+ tech skills courses.