Closed WolfgangFahl closed 1 year ago
Just noticed the issue now as well... what helped was umount /var/lib/docker/overlay2
and then restart docker service
Fixed by running docker system prune -a
as mentioned here
Please try running a plain docker build with Dockerfile(s) from your compose file (docker build ...
) to confirm this is a Compose issue, otherwise issue should be reported to docker/buildx repository if this is a general build issue.
Unfortunately the reproducatbility of this bug is limited and therefore the causes are still blury and need more investigation and feedback. This shouldn't be a reason to close the issue though.
sure, but we first need to confirm this is a compose issue, and not a build/engine/docker desktop one, otherwise you won't get the right team investigating
the same stuff for me, face with the issue as well
Fixed by running
docker system prune -a
as mentioned here
Fixed the issue for me :+1:
In my case, I did not need to do a docker system prune -a
, removing the build cache with docker builder prune -a
was enough, as mentioned here.
Based on the symptoms and the mitigation (bulider prune -a
), this looks like https://github.com/moby/moby/issues/44943 and can be closed if it does not reproduce on 23.0.1.
Closing for now as this has not been reproduced on subsequent versions.
If nothing from above helps, on linux distro (no docker desktop), do the following to do kinda factory reset for docker
# systemctl stop docker
# rm -rf /var/lib/docker
# systemctl start docker
Description
https://github.com/docker/for-mac/issues/1396 has been discussed since 2017 and was closed for no proper reason. The problem has shown up dozen of times on macs and linux machines. It happened to me today.
Steps To Reproduce
On my Ubunut 22.04 LTS machine Linux arche 5.15.0-60-generic #66-Ubuntu SMP Fri Jan 20 14:29:49 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux Docker version 23.0.0, build e92dd87
I did a pip install pymediawikidocker mwcluster -f
which runs happily in my CI of the project https://github.com/WolfgangFahl/pymediawikidocker but fails locally.
The necessary docker files are automatically generated.
Trying a docker build to reproduce:
pointing to https://github.com/docker/for-mac/issues/1396 which is docker for mac specific and very very unfortunately closed only because there has been no new comments recently (which seems to have an assumption that bugs are fixed by waiting for nobody to complain any more ...)
Compose Version
Docker Environment
Anything else?
Please switch off the bot that closed issues that have no comments e.g. if the issues has previously had a certain amount of activity indicating that the problem is indeed common.