Clean up

Learn how to delete a running container and, optionally, remove local images from your system.

Delete the running container and images

If you’ve followed along in a local system, you’ll have one running container and several images in your local image repository. You should delete the running container and, optionally, the local images.

Run the following command to delete the container.

Get hands-on with 1400+ tech skills courses.