Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[computer use] Tip: prune your unused docker containers #157

Open
Quasimondo opened this issue Nov 3, 2024 · 0 comments
Open

[computer use] Tip: prune your unused docker containers #157

Quasimondo opened this issue Nov 3, 2024 · 0 comments

Comments

@Quasimondo
Copy link

I am not sure if this is just due to the way I use the docker images or due to my docker configuration, but if you stop and restart the computer use docker images occasionally, every time you do that it leaves behind another unused container which in my case takes up ~15GB. And by default docker images are overlayed at /var/lib/docker on linux systems - so I was a bit surprised when my OS complained that it had 0b left on the root disk.

Anyway:
you can check all containers that use up disk space (used and unused ones) with
docker ps -a
and you can clean up all the unused ones with
docker container prune

In my case that freed 380GB of disk space

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant