Hi there, I've set up `b2c-demo-shop` but after a ...
# docker
w
Hi there, I've set up
b2c-demo-shop
but after a few days it appears that there's no modre free disk space despite we didn't add many goods or images. How can I check what container is responsible fot that and how to clean it up?
h
Jenkins runs different jobs quite regularly (state machine and queue worker every minute) which can produce a lot of logs
w
@happy-addition-42792 Maybe. How to clean them up?
h
Hi Alex, It is general docker problem, that is essential for Docker Desktop due to virtualization and limited VM disk space. Asking your question on how to figure out who is eating the disk space you can refer to https://docs.docker.com/engine/reference/commandline/system_df/
Copy code
docker system df
docker system df -v
You can also check out Docker Dashboard. How to clean up? There are several options to clean stuff. If you do not have anything valuable inside docker images/volumes and you want to start from scratch you can go hardcore:
Copy code
docker image prune
    docker volume prune
    docker system prune -a
    docker builder prune -a
If you want to clear only unused images and build cache
Copy code
docker system prune -a
    docker builder prune -a
https://docs.docker.com/engine/reference/commandline/system_prune/ and you can search of other ones.