docker system prune

Estimated reading time: 1 minute

Description

Remove unused data

Usage

docker system prune [OPTIONS]

Options

Name, shorthand Default Description
--all, -a false Remove all unused images not just dangling ones
--filter   Provide filter values (e.g. ‘until= ')
--force, -f false Do not prompt for confirmation

Parent command

Command Description
docker system Manage Docker
Command Description
docker system df Show docker disk usage
docker system events Get real time events from the server
docker system info Display system-wide information
docker system prune Remove unused data
chat icon Feedback? Suggestions? Can't find something in the docs?
Edit this page Request docs changes Get support
Rate this page: