docker image prune -a --filter 'until=24h'

Category: Docker

docker image prune -a --filter 'until=24h'

Remove unused images older than 24 hours

Removes unused images older than 24 hours. --filter 'until=24h' limits by age.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.