1. Learn
  2. /
  3. Courses
  4. /
  5. Introduction to Docker

Connected

Exercise

Cleaning up images

The project you were working on is done. You had to use and try several docker containers and images and would like to clear up some space on your system before starting your next project. You remember using the ubuntu image last and know you won't need it for your next project.

Instructions 1/3

undefined XP
  • 1
    • Using the terminal, enter the command to remove the ubuntu image.
  • 2
    • The ubuntu image failed to remove since it still has a container using it. To be sure you can clean up your images, remove all stopped containers.
  • 3
    • Now that all stopped containers are removed, also remove all unused images.