docker system prune --filter 'until=48h'

Category: Docker

docker system prune --filter 'until=48h'

Remove resources unused for more than 48 hours

Removes only resources that haven't been used in the past 48 hours.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.