Now that you have a view of the big picture, let’s see how to use Docker to create a new container.

Starting containers using the Docker CLI

The most common way of starting containers is using the Docker CLI. Run the following command to start a new container called ctr1 based on the nginx image.

Get hands-on with 1400+ tech skills courses.