question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[error]docker: 'buildx' is not a docker command

See original GitHub issue

Behaviour

Expected behaviour

The ci was working just fine last few day. Now i’m having problem with docker buildx, [error]docker: 'buildx' is not a docker command

Configuration

  • Repository URL (if public):
  • Build URL (if public):
name: Release Docker Image
on:
  release:
    types: [published]
jobs:
  build:
    name: Build, Tag and Push Image
    runs-on: self-hosted
    steps:
    - name: Checkout
      uses: actions/checkout@v2
    - name: Set up QEMU
      uses: docker/setup-qemu-action@v1
    - name: Set up Docker Buildx
      uses: docker/setup-buildx-action@v1
      with:
        install: true
    - name: Login to AmazonECR
      uses: docker/login-action@v1
      with:
        registry: ${{ secrets.AWS_ECR_REGISTRY }}
        username: ${{ secrets.AWS_ACCESS_KEY_ID }}
        password: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
      name: "Development: Build, Tag and Push Image"
      uses: docker/build-push-action@v2
      with:
        context: .
        push: true
        build-args: |
          NODE_ENV=development
          VUE_APP_VERSION=${{ github.event.release.tag_name }}
          VUE_APP_GIT_SHA=${{ github.sha }}
        tags: |
          ${{ secrets.AWS_ECR_REGISTRY }}/${{ secrets.ECR_REPOSITORY }}:dev-latest
          ${{ secrets.AWS_ECR_REGISTRY }}/${{ secrets.ECR_REPOSITORY }}:${{ github.event.release.tag_name }}

Logs

4_Set up Docker Buildx.txt

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
socheatsok78commented, Nov 22, 2020

Oh god, apologies for fail to give you the updates.

Yes it seem like it was my environment, look like Docker installed from Snap cause the issues!

0reactions
crazy-maxcommented, Nov 22, 2020

@socheatsok78 Closing this one as it seems related to your environment. Also check if the env var DOCKER_CLI_EXPERIMENTAL=enabled exists.

Read more comments on GitHub >

github_iconTop Results From Across the Web

buildx is not a docker command on linux/amd64 ? #132 - GitHub
Hi, I have docker 19.03 on ubuntu amd64 and I tried the steps in your readme but fail to get buildx command working....
Read more >
Install Docker Buildx
Running the command docker buildx install sets up the docker build command as an alias to docker buildx . This results in the...
Read more >
Bug#989917: docker.io: docker "buildx" not found
docker : 'buildx' is not a docker command. See 'docker --help' I can't find any patches or files under debian/copyright suggesting this
Read more >
Docker Buildx
Buildx builds using the BuildKit engine and does not require DOCKER_BUILDKIT=1 environment variable to start the builds. The docker buildx build command ......
Read more >
Docker Buildx Installation Guide - Bobcares
How to install and set up Docker Buildx. Docker Buildx is a plugin responsible for extending the docker command. It comes with the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found