Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while pulling tonistiigi/binfmt:latest image #110

Closed
1 of 3 tasks
lunacrafts opened this issue Nov 11, 2023 · 13 comments
Closed
1 of 3 tasks

Error while pulling tonistiigi/binfmt:latest image #110

lunacrafts opened this issue Nov 11, 2023 · 13 comments

Comments

@lunacrafts
Copy link

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

@JannisDev
Copy link

Same here. Is the docker server the problem?

@danigrb
Copy link

danigrb commented Nov 11, 2023

getting the same error out of nowhere just now

@lunacrafts lunacrafts changed the title Error while pulling tonistiigi/binfmt:latest image Error while pulling tonistiigi/binfmt:latest image (docker/setup-qemu-action@v3 failing) Nov 11, 2023
@lunacrafts lunacrafts changed the title Error while pulling tonistiigi/binfmt:latest image (docker/setup-qemu-action@v3 failing) Error while pulling tonistiigi/binfmt:latest image Nov 11, 2023
@danigrb
Copy link

danigrb commented Nov 11, 2023

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

@lunacrafts
Copy link
Author

lunacrafts commented Nov 11, 2023

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

@danigrb
Copy link

danigrb commented Nov 11, 2023

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

@bbompk
Copy link

bbompk commented Nov 11, 2023

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

@xuxusheng
Copy link

I'm facing the same issue

@Victor2333
Copy link

Same issue here.

@eunchurn
Copy link

Same issue here

@RomainLanz
Copy link

Docker Hub is having an incident.

image

https://www.dockerstatus.com/

@natheeshsunway
Copy link

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

@echoix
Copy link

echoix commented Nov 11, 2023

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.

@natheeshsunway
Copy link

This repo requires 1K+ stars....

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

No branches or pull requests

10 participants