buildx
buildx copied to clipboard
"docker" driver is not available on Docker Desktop for Mac
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
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.