Open denschub opened 3 weeks ago
I should add that there was a previous issue, https://github.com/moby/moby/issues/45436, and I have set the following engine config:
{
// ...
"default-ulimits": {
"nofile": {
"Name": "nofile",
"Hard": 1024,
"Soft": 524288
}
},
// ...
}
but it's freezing with and without this.
Exactly. I am currently encountering this same problem at the Archlinux container, where building packages for Archilinux for armv7l at that container using makepkg fails. During the process of makepkg, fakeroot is called, but it freezes and does not move forward.
I can confirm that I have the same issue with all my containers building AUR packages for Arch Linux (x86_64).
Forcing a downgrade of the fakeroot package to the previous version: pacman -U --noconfirm https://archive.archlinux.org/packages/f/fakeroot/fakeroot-1.34-1-x86_64.pkg.tar.zst
prior to running the makepkg command allows the build to run successfully.
This is a Docker for Mac-issue, it works fine in Docker-for-Linux with the same Docker version. Because it works on Linux, I'll report this here - but if this turns out not to be a Docker issue, please let me know. :)
Are you running the same version of runc on your Linux installation? Would you be able to post the docker version
and docker info
of your Linux installation as well?
As the previous issue (linked in the moby repo) was related to Ulimits, and I'm aware that runc v1.1.13 had fixes to work around an issue in the Go runtime (see https://github.com/opencontainers/runc/pull/4277, and https://github.com/opencontainers/runc/pull/4299), which could result in the ulimits not always being applied. The next release of Docker Desktop, should come with runc 1.1.13 (in case that's the cause)
Forcing a downgrade of the fakeroot package to the previous version:
@drzee99 do you know what the version of fakeroot was that didn't work? (In case colleagues want to look at differences between those versions to narrow down what could cause it).
do you know what the version of fakeroot was that didn't work? (In case colleagues want to look at differences between those versions to narrow down what could cause it).
Nevermind, I see the original comment at the top mentions it; 😅
fakeroot v1.35 to be broken.
Description
fakeroot v1.35 to be broken. It just freezes forever, and you have to kill the container. I'm not sure if this is Archlinux-specific, but it worked ~2 weeks ago, and no longer does.
This is a Docker for Mac-issue, it works fine in Docker-for-Linux with the same Docker version. Because it works on Linux, I'll report this here - but if this turns out not to be a Docker issue, please let me know. :)
Reproduce
docker run -it --platform=linux/amd64 archlinux/archlinux:base-devel sh -c "fakeroot"
Expected behavior
I should see a shell that's interactive.
docker version
docker info
Diagnostics ID
7200E6FD-1BC6-461B-878E-83E3CBF00FC6/20240614231450
Additional Info
No response