-
Notifications
You must be signed in to change notification settings - Fork 84
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
Docker leaks disk space? #1423
Comments
Do you know what directory inside |
I should've included that, sorry @thaJeztah.
Pruning:
|
I have the very same behaviour here.
|
I'm observing totally the same behavior.
Running |
Same here after
|
I have the same issue, on multiple systems. |
Same here on two systems: |
I don't have a clean self-contained repro, but if it helps: it seems it started happening after I modified my Dockerfile to split a container into two, reusing the same image for both with a different run command. Everything built locally. |
We observed the same behaviour on a CI server. |
I have the exact same behavior and our CI systems are running out of disk space
|
Same here.
|
Run into this again. As Workaround I nuked docker entirely and reinstalled it.
|
The same issue is on my local machine when deploying with Kamal which uses Docker. After several deploys, It breaks with the error |
@abratashov From your linked ticket (basecamp/kamal#765), I suspect you're running a containerised BuildKit builder (using the
In that case, build is executed by a standalone BuildKit daemon that runs inside a container. Such instances use a volume to persist state (including build-cache). When cleaning up date (using |
Expected behavior
Docker seems to use too much disk space in
/var/lib/docker
. I did a test:docker prune
d everything (docker image prune -fa
,docker system prune -fa
,docker buildx prune -fa
)After this, I would expect the space usage to drop to nearly 0.
Actual behavior
Steps to reproduce the behavior
Use Docker for a while.
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.)
AWS EC2 node
The text was updated successfully, but these errors were encountered: