Starting a New Container

Learn how to start new container using Docker CLI.

Now that you have an overview, 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 1300+ tech skills courses.