...

/

Managing Containers

Managing Containers

Learn how to run a container and exit from it without terminating it.

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 image.

Press + to interact
$ docker run --name test -it ubuntu:latest bash
root@bbd2e5ad1817:/#

Notice ...

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