Search⌘ K
AI Features

Managing Containers

Explore how to start Docker containers from images using the docker run command with interactive shell access. Learn to check running processes inside containers, exit without stopping containers, and verify container status, gaining essential skills in container management.

Start a container from the image

If you’ve been following along, you’ll have a copy of the ubuntu:latest image on your Docker host, and you can use the docker run command to start a container from it.

Run the following docker run command to start a new container called test from the ubuntu:latest ...

Shell
$ docker run --name test -it ubuntu:latest bash
root@bbd2e5ad1817:/#

Notice ...