Skip to content

Error while pulling tonistiigi/binfmt:latest image #110

Closed

Description

@lunacrafts

Contributing guidelines

I've found a bug, and:

  • The documentation does not mention anything about my problem
  • There are no open or closed issues that are related to my problem

Description

Run docker/setup-qemu-action@v3

Pulling binfmt Docker image
/usr/bin/docker pull tonistiigi/binfmt:latest
Error response from daemon: Head "https://registry-1.docker.io/v2/tonistiigi/binfmt/manifests/latest": EOF
Error: The process '/usr/bin/docker' failed with exit code 1

Expected behaviour


Actual behaviour


Repository URL

No response

Workflow run URL

No response

YAML workflow

name: build_and_deploy

on:
  workflow_dispatch:
  push:
    branches:
      - main
    paths:
      - pnpm-lock.yaml
      - .github/**
      - mirrorboards/**
      - mirrorboards-server/**
      - Dockerfile.mirrorboards
      - envs/**

env:
  REGISTRY: 'docker.io/lunacrafts'
  KUBECONFIG: ./kubeconfig.yaml
  TURBO_TEAM: ${{ vars.TURBO_TEAM }}
  TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

      - uses: pnpm/action-setup@v2
        with:
          version: 8

      - name: Setup Node.js
        uses: actions/setup-node@v3
        with:
          node-version: 18
          cache: 'pnpm'
          cache-dependency-path: pnpm-lock.yaml

      - name: Install dependencies
        run: pnpm install --frozen-lockfile

      - name: Build
        run: npx turbo run build '--filter=./mirrorboards/**' '--filter=./mirrorboards-server/*'

      - name: Create Release Pull Request
        uses: changesets/action@v1
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

      - name: Set up QEMU
        uses: docker/setup-qemu-action@v3

      - name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v3

      - name: Login to Docker Hub
        uses: docker/login-action@v3
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}

      - name: Build and push
        uses: docker/build-push-action@v5
        with:
          context: .
          file: Dockerfile.mirrorboards
          push: true
          tags: lunacrafts/mirrorboards:${{ github.sha }}

  deploy:
    needs: build
    strategy:
      fail-fast: false
      matrix:
        include:
          - service: 'boards'
            path: 'mirrorboards/boards/boards-box'

          - service: 'hypeboards-telegram-bot'
            path: 'mirrorboards/hypeboards/hypeboards-telegram-bot'

          - service: 'hypeboards-box'
            path: 'mirrorboards/hypeboards/hypeboards-box'

          - service: 'mirrorboards-server'
            path: 'mirrorboards-server/mirrorboards-server'
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - name: configure k8s context
        run: |
          echo "${{ secrets.KUBECONFIG_B64 }}" | base64 -d > kubeconfig.yaml
      - name: deploy helm
        run: |
          helm upgrade --install --namespace "mirror" ${{matrix.service}} ./${{matrix.path}}/helm --set image_tag="${{ github.sha }}"

Workflow logs

No response

BuildKit logs

Run docker/setup-qemu-action@v3
  with:
    image: tonistiigi/binfmt:latest
    platforms: all
  env:
    REGISTRY: docker.io/***
    KUBECONFIG: ./kubeconfig.yaml
    TURBO_TEAM: team_EErnrsQkD8EbJ5K61AYeUW9N
    TURBO_TOKEN: ***
    PNPM_HOME: /home/runner/setup-pnpm/node_modules/.bin
Docker info
  /usr/bin/docker version
  Client: Docker Engine - Community
   Version:           24.0.7
   API version:       1.43
   Go version:        go1.20.10
   Git commit:        afdd53b
   Built:             Thu Oct 26 09:07:41 2023
   OS/Arch:           linux/amd64
   Context:           default
  
  Server: Docker Engine - Community
   Engine:
    Version:          24.0.7
    API version:      1.43 (minimum version 1.12)
    Go version:       go1.20.10
    Git commit:       311b9ff
    Built:            Thu Oct 26 09:07:41 2023
    OS/Arch:          linux/amd64
    Experimental:     false
   containerd:
    Version:          1.6.24
    GitCommit:        61f9fd88f79f081d64d6fa3bb1a0dc71ec870523
   runc:
    Version:          1.1.9
    GitCommit:        v1.1.9-0-gccaecfc
   docker-init:
    Version:          0.19.0
    GitCommit:        de40ad0
  /usr/bin/docker info
  Client: Docker Engine - Community
   Version:    24.0.7
   Context:    default
   Debug Mode: false
   Plugins:
    buildx: Docker Buildx (Docker Inc.)
      Version:  v0.11.2
      Path:     /usr/libexec/docker/cli-plugins/docker-buildx
    compose: Docker Compose (Docker Inc.)
      Version:  v2.23.0
      Path:     /usr/libexec/docker/cli-plugins/docker-compose
  
  Server:
   Containers: 0
    Running: 0
    Paused: 0
    Stopped: 0
   Images: 19
   Server Version: 24.0.7
   Storage Driver: overlay2
    Backing Filesystem: extfs
    Supports d_type: true
    Using metacopy: false
    Native Overlay Diff: false
    userxattr: false
   Logging Driver: json-file
   Cgroup Driver: cgroupfs
   Cgroup Version: 2
   Plugins:
    Volume: local
    Network: bridge host ipvlan macvlan null overlay
    Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
   Swarm: inactive
   Runtimes: io.containerd.runc.v2 runc
   Default Runtime: runc
   Init Binary: docker-init
   containerd version: 61f9fd88f79f081d64d6fa3bb1a0dc71ec870523
   runc version: v1.1.9-0-gccaecfc
   init version: de40ad0
   Security Options:
    apparmor
    seccomp
     Profile: builtin
    cgroupns
   Kernel Version: 6.2.0-1015-azure
   Operating System: Ubuntu 22.04.3 LTS
   OSType: linux
   Architecture: x86_64
   CPUs: 2
   Total Memory: 6.76GiB
   Name: fv-az301-86
   ID: 5ee0a90d-9ba7-4120-a52c-7d8898402fd7
   Docker Root Dir: /var/lib/docker
   Debug Mode: false
   Username: githubactions
   Experimental: false
   Insecure Registries:
    127.0.0.0/8
   Live Restore Enabled: false
  
Pulling binfmt Docker image
  /usr/bin/docker pull tonistiigi/binfmt:latest
  Error response from daemon: Head "https://registry-1.docker.io/v2/tonistiigi/binfmt/manifests/latest": EOF
Error: The process '/usr/bin/docker' failed with exit code 1

Additional info

No response

Activity

  1. JannisDev commented on Nov 11, 2023

    @JannisDev

    Same here. Is the docker server the problem?

  2. danigrb commented on Nov 11, 2023

    @danigrb

    getting the same error out of nowhere just now

  3. changed the title [-]Error while pulling tonistiigi/binfmt:latest image[/-] [+]Error while pulling tonistiigi/binfmt:latest image (docker/setup-qemu-action@v3 failing)[/+] on Nov 11, 2023
  4. changed the title [-]Error while pulling tonistiigi/binfmt:latest image (docker/setup-qemu-action@v3 failing)[/-] [+]Error while pulling tonistiigi/binfmt:latest image[/+] on Nov 11, 2023
  5. danigrb commented on Nov 11, 2023

    @danigrb

    I think it has to do with the fact that it is pulling tonistiigi/binfmt with the latest tag, and the latest release has an error. It would be better if we pulled a specific tag

  6. lunacrafts commented on Nov 11, 2023

    @lunacrafts
    Author

    Doesn't it actually looks like docker.io registry outrage?

    edit:
    I disabled QUEMu action, but still experiencing some issues with docker registry:

    Run docker/login-action@v3
    Logging into Docker Hub...
    Error: Error response from daemon: Get "https://registry-1.docker.io/v2/": EOF
    
  7. danigrb commented on Nov 11, 2023

    @danigrb

    You are actually right, no tag works and I'm getting a similar error with nginx for example

  8. bbompk commented on Nov 11, 2023

    @bbompk

    yeah can't pull any images, seems like Docker has been out for about 30 mins now (ref)

  9. xuxusheng commented on Nov 11, 2023

    @xuxusheng

    I'm facing the same issue

  10. Victor2333 commented on Nov 11, 2023

    @Victor2333

    Same issue here.

  11. eunchurn commented on Nov 11, 2023

    @eunchurn

    Same issue here

  12. RomainLanz commented on Nov 11, 2023

    @RomainLanz

    Docker Hub is having an incident.

    image

    https://www.dockerstatus.com/

  13. natheeshsunway commented on Nov 11, 2023

    @natheeshsunway

    Same issues here.... Any alternate solutions? Can anyone explain this issues?

  14. echoix commented on Nov 11, 2023

    @echoix

    Docker Hub is having an incident.

    image

    https://www.dockerstatus.com/

    It wasn't there for a at least 30 min when I finally went at the bottom of the support page and sent an email through "report issue" at 16:15 UTC, ~45 mins ago. So it seems 8 min after it showed up.

  15. natheeshsunway commented on Nov 12, 2023

    @natheeshsunway

    This repo requires 1K+ stars....

  16. rvanbaalen commented on Mar 11, 2025

    @rvanbaalen

    Same issue is happening again today, or at least my github actions are endlessly stuck on

    Loaded image: tonistiigi/binfmt:latest

  17. DerTimonius commented on Jul 2, 2025

    @DerTimonius

    Encountering this issue again today, for the majority of our builds they keep getting stuck here

    Pulling binfmt Docker image
    Cache hit for: docker.io--tonistiigi--binfmt-latest-linux-x64
    

    Some continue, others don't. And it's not deterministic which build fails and which can continue

    Edit: could also be an issue of the caching layer of the github runner host

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions