Buildx: 'buildx' is not a docker command on Windows 10

Created on 19 Jun 2019  路  5Comments  路  Source: docker/buildx

I am trying to build multi-arch images following this article: https://engineering.docker.com/2019/04/multi-arch-images/,
Updated the docker desktop to edge release. But docker buildx ls command is not working. It's throwing error:

docker: 'buildx' is not a docker command.
See 'docker --help'

I am on docker desktop for windows.
Docker Desktop version: 2.0.5.0 (35318)
Engine: 19.03.0-rc2

OS: Windows 10 Pro, Version 1803

Most helpful comment

I'm working through the same article on Docker Desktop for Mac and had to export the following environment variable to get it to work:

export DOCKER_CLI_EXPERIMENTAL=enabled

All 5 comments

I believe you need to set experimental: enabled in the CLI conf since rc2 (or get the release build from this repo that doesn't need it). @tiborvass

I'm working through the same article on Docker Desktop for Mac and had to export the following environment variable to get it to work:

export DOCKER_CLI_EXPERIMENTAL=enabled

As stated in the release notes for Docker Desktop for Mac and Docker Desktop for Windows:

  • Docker Desktop includes the buildx plugin (currently experimental).
  • Selecting the Experimental features checkbox on the Docker Desktop Preferences Daemon page enables experimental features in the Docker daemon and the Docker CLI.

As stated in the release notes for Docker Desktop for Mac and Docker Desktop for Windows:

  • Docker Desktop includes the buildx plugin (currently experimental).
  • Selecting the Experimental features checkbox on the Docker Desktop Preferences Daemon page enables experimental features in the Docker daemon and the Docker CLI.

its the multistate checkbox thats confusing people

I created config.json file with below content in .docker folder in user directory & it worked.

{ "experimental":"enabled" }
Was this page helpful?
0 / 5 - 0 ratings

Related issues

dubo-dubon-duponey picture dubo-dubon-duponey  路  10Comments

Aaltis picture Aaltis  路  6Comments

bjoernhaeuser picture bjoernhaeuser  路  6Comments

minusdelta picture minusdelta  路  10Comments

richarvey picture richarvey  路  13Comments