Docker and CI/CD · Junior · Question 30 of 75

Your disk is full of old Docker data. What is a common cleanup command?

Explanation

It removes stopped containers, unused networks, dangling images and build cache. Add -a for all unused images and --volumes for volumes, carefully.

Further reading

Problem with a question

Docker and CI/CD · Junior · question 30

Test yourself

Take the Docker and CI/CD · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz