buildx icon indicating copy to clipboard operation
buildx copied to clipboard

"docker" driver is not available on Docker Desktop for Mac

Open rgov opened this issue 3 years ago • 1 comments

I don't know whether it's supposed to be available, but the usage text suggests so, and the web documentation does not say otherwise:

% docker buildx create --help

Usage:  docker buildx create [OPTIONS] [CONTEXT|ENDPOINT]

Options:
      --driver string            Driver to use (available: "docker", "docker-container", "kubernetes")
                                                            ^^^^^^

% docker buildx create --driver docker
error: failed to find driver "docker"


% docker buildx version
github.com/docker/buildx v0.8.2 6224def4dd2c3d347eee19db595348c50d7cb491

rgov avatar Aug 14 '22 02:08 rgov

Heya :wave:

Yeah, you're right, this isn't supposed to be available, but the docs and help definitely suggest it is - I've pushed a PR to hopefully make the behavior a little more clear.

You can create new instances of the docker driver by creating a new docker context, which will automatically be added to the list of builders in this case - you can find more information in docs/guides/drivers/docker.md.

jedevc avatar Aug 16 '22 10:08 jedevc