Install buildx
#273
Replies: 6 comments 10 replies
-
ARCH=amd64 # change to 'arm64' for m1
VERSION=v0.8.2
curl -LO https://github.com/docker/buildx/releases/download/${VERSION}/buildx-${VERSION}.darwin-${ARCH}
mkdir -p ~/.docker/cli-plugins
mv buildx-${VERSION}.darwin-${ARCH} ~/.docker/cli-plugins/docker-buildx
chmod +x ~/.docker/cli-plugins/docker-buildx
docker buildx version # verify installation |
Beta Was this translation helpful? Give feedback.
-
Hi together, Thank you for this solution! I created for my this installer Script to install with GitHub CLI the latest |
Beta Was this translation helpful? Give feedback.
-
For me, this worked: brew install docker-buildx
# Follow the caveats mentioned in the install instructions:
# mkdir -p ~/.docker/cli-plugins
# ln -sfn $(which docker-buildx) ~/.docker/cli-plugins/docker-buildx
docker buildx install # To keep using the `docker build` install but with buildkit: https://docs.docker.com/engine/reference/commandline/buildx_install/ Edit 1: Updated specific location in |
Beta Was this translation helpful? Give feedback.
-
I addition to @amitds1997 answer, I had to set
|
Beta Was this translation helpful? Give feedback.
-
brew install docker-buildx
mkdir -p ~/.docker/cli-plugins
ln -sfn $HOMEBREW_PREFIX/opt/docker-buildx/bin/docker-buildx ~/.docker/cli-plugins/docker-buildx |
Beta Was this translation helpful? Give feedback.
-
My solution: brew install docker-buildx
mkdir -p ~/.docker/cli-plugins
ln -s $(which docker-buildx) ~/.docker/cli-plugins/docker-buildx
colima restart
docker buildx version |
Beta Was this translation helpful? Give feedback.
-
It doesn’t matter much from my perspective, because I’m using
buildkit
(viaDOCKER_BUILDKIT=1
), but I’m curious how one would installbuildx
on macOS for use with Colima, asbrew install docker
does not seem to include it. I can obviously install Docker desktop, but that sort of defeats the purpose.Those of you using it, how have you installed it? Manual plug-in installation?
Beta Was this translation helpful? Give feedback.
All reactions