I'm building a docker image in a build, and about 7 out of every 10 builds hangs while trying to interact with the docker daemon.
Here is my image buiding task:
- build-image: |
cd voidshrieker
sudo nohup dockerd &
sleep 10
sudo docker build -t void/nginx .
sudo docker save void/nginx:latest > webimage.tar
sudo chmod 644 webimage.tar
and here is the output I get in the log:
+ cd voidshrieker
+ sleep 10
+ sudo nohup dockerd
nohup: appending output to 'nohup.out'
and after that nothing more.
I added a comment about this to #298 and ~sircmpwn asked me to open a new ticket and shout out to ~eschwarz due to this happening on an archlinux
build image.
I believe the commit by ~xenrox https://git.sr.ht/~sircmpwn/builds.sr.ht/commit/1ae569174d621fa8e15800d82eb4de795826bdc8 was supposed to help here?
With my patch the following should theoretically work:
sudo systemctl start docker docker build -t ...
From your (and other users) failed builds it seems like it always works on azusa and fails on yui (the two build runners).