Managing Containers

Learn how to run a container and exit from it without killing 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.

Get hands-on with 1200+ tech skills courses.