Complete the command to remove all unused Docker objects.
docker system [1]The docker system prune command removes all unused containers, networks, images, and optionally volumes.
Complete the command to remove unused Docker images only.
docker image [1]The docker image prune command removes unused images to free up space.
Fix the error in the command to prune all unused Docker objects including volumes.
docker system prune [1]The --volumes flag tells Docker to also remove unused volumes during prune.
Fill both blanks to prune unused containers and images without confirmation.
docker system prune [1] [2]
Using --force skips confirmation, and --all removes all unused images as well as containers.
Fill all three blanks to prune unused containers, images, and volumes without confirmation.
docker system prune [1] [2] [3]
--force skips confirmation, --all removes all unused images, and --volumes removes unused volumes.