~sircmpwn/builds.sr.ht#308: 
Intermittent hanging when using dockerd on archlinux

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.

Status
RESOLVED FIXED
Submitter
~j0ni
Assigned to
No-one
Submitted
4 years ago
Updated
4 years ago
Labels
No labels applied.

~sircmpwn 4 years ago

~eschwartz 4 years ago

~xenrox 4 years ago

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).

~sircmpwn REPORTED FIXED 4 years ago

Register here or Log in to comment, or comment via email.