Ticket created by ~j0ni on ~sircmpwn/builds.sr.ht
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.
Comment by ~j0ni on ~sircmpwn/builds.sr.ht
My build is using the
archlinux
image, I should have mentioned that, sorry.
Comment by ~j0ni on ~sircmpwn/builds.sr.ht
Adding a +1 to this - my build hangs right after staring docker - here's the hanging 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
I see the following logs:
+ cd voidshrieker + sleep 10 + sudo nohup dockerd nohup: appending output to 'nohup.out'
and then nothing else. Similarly, sometimes it works fine when I cancel and resubmit, but not always.
It would be super helpful if you could ssh into a canceled build as you can a failed build, otherwise you have to wait a very long time to investigate.