E

Docker pull ping error during export

Summary

The user is encountering a "pull ping error" when attempting to export images using a Docker command, which fails to resolve a reference. This issue arises during the export to GitHub packages, which the user notes has no architecture limitations. They mention running multiple architectures, including linux/amd64 and linux/arm64, and provide a link to logs for more information. The user also inquires if the recipient is using a Mac with M architecture, as they are on an M3 and suspect the error may be specific to mac aarch64.

Status
resolved
Tags
    Source
    #earthly
      a

      alex804

      10/17/2024

      may be the error is due to architecture mismatch for some of the packages - i.e. base image doesn't exist for the requested architecture

      a

      alex804

      10/17/2024

      I pinned to --platform=linux/amd64 and now it works

      a

      alex804

      10/17/2024

      My earthly job is dead simple:

          FROM DOCKERFILE .
          SAVE IMAGE dashboard:latest```
      
      a

      alex804

      10/17/2024

      Bump. Are you on mac m architecture? I am on m3 and it seems mac aarch64 specific error.

      z

      zac

      10/2/2024

      Is anyone else getting this error when exporting images? Error: pull ping error: pull ping response: rpc error: code = Unknown desc = image pull: 1 error occurred: * command failed: docker pull 127.0.0.1:63471/sess-f20l8lsrtgj5pa0ac9n0jhtow/pullping:img-2: exit status 1: Error response from daemon: failed to resolve reference "127.0.0.1:63471/sess-f20l8lsrtgj5pa0ac9n0jhtow/pullping:img-2": failed to do request: Head "https://127.0.0.1:63471/v2/sess-f20l8lsrtgj5pa0ac9n0jhtow/pullping/manifests/img-2": EOF: exit status 1

      I am exporting to github packages which has no achitecture limitations Here is the architectures I am running

      --platform=linux/arm64 \
      --platform=linux/arm/v7 \
      --platform=linux/arm/v6 \
      --platform=linux/ppc64le \
      --platform=linux/riscv64 \
      --platform=linux/s390x \```
      Logs: <https://cloud.earthly.dev/bearbinary/builds/aa8d8762-e7ac-4ac6-9746-f6344be2aed6>
      
      I am getting this issue when tring to export any image