Docker Unused Images - Digital Ocean

Hello everyone,

I spent some time with docker today, solving problems…LOL
Well…I ran this command on my production server (via SSH): docker system df and one point caught my attention: 292 images and 8 active!!

Then I ran “docker images” and all 292 images are there, images from 10 months ago! Looks like each deployment, Wappler is creating a new image!

It is safe use docker system prune --all to clean unused data?
Thanks! Happy weekend to all!

Absolutely fine to run:

docker system prune

Some further guidance for you here:

1 Like

thanks @Dave!
@George is possible to add “docker system prune” on the remote server after deployment?

1 Like

Yes, will add it soon