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.

Assigned to
1 year, 2 days ago
11 months ago
No labels applied.

~sircmpwn 1 year, 2 days ago

~eschwartz 1 year, 2 days ago

~xenrox 1 year, 2 days 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 11 months ago

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