Review
In this section, you were exposed to a number of concepts:
Writing a Dockerfile to build a Docker image.
Using a Docker image to launch a container.
Using common options for the
docker runcommand.Name containers for convenience with the
--nameoption.Avoid wasting resources with dead containers with
--rmoption.Work interactively with containers in the terminal with the
-itoption.
Inspecting a container's output with
docker logs.
Last updated