...

/

Starting a New Container

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.

Access this course and 1400+ top-rated courses and projects.