Skip to content

Intermittent "unexpected EOF" while downloading container layers when built with go 1.24

Description:

When pulling images, there occasionally occurs a segmentation fault in dockerd. As this is built with Go 1.24, please refer to the upstream issue: https://github.com/moby/moby/issues/49513. Until this issue is resolved, it is recommended to avoid packaging with Go 1.24 and temporarily switch to using Go 1.23 as a workaround.

Additional info:

Steps to reproduce:

  1. Install the latest Docker version via pacman -S docker.
  2. Repeatedly attempt to pull images using docker pull SOME_IMAGE
  3. When encountering an unexpected EOF error, inspect Docker service logs with journalctl -xeu docker.
  4. Identify crash reports similar to the following:
Process 36200 (dockerd) of user 0 dumped core.

                                                   Stack trace of thread 36220:
                                                   #0  0x00005f257ce81098 n/a (/usr/bin/dockerd + 0x39098)
                                                   #1  0x00005f257cedfbd9 n/a (/usr/bin/dockerd + 0x97bd9)
                                                   #2  0x00005f257cee5029 n/a (/usr/bin/dockerd + 0x9d029)
                                                   #3  0x00005f257cedc516 n/a (/usr/bin/dockerd + 0x94516)
                                                   #4  0x00005f257ceb0625 n/a (/usr/bin/dockerd + 0x68625)
                                                   #5  0x00005f257ceb02df n/a (/usr/bin/dockerd + 0x682df)
                                                   ELF object binary architecture: AMD x86-64
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information