HarrisKirk / blue-green-dreams

2 stars 1 forks source link

Build docker images with BuildKit #88

Open HarrisKirk opened 1 year ago

HarrisKirk commented 1 year ago

Avoid this error message DEPRECATED: The legacy builder is deprecated and will be removed in a future release. Install the buildx component to build images with BuildKit: https://docs.docker.com/go/buildx/

HarrisKirk commented 8 months ago

The solution is to install a binary as follows: Download buildx-v0.12.0.linux-amd64 or latest from this page: https://github.com/docker/buildx/tags

mkdir -p ~/.docker/cli-plugins
cp buildx-v0.12.0.linux-amd64 ~/.docker/cli-plugins/docker-buildx
chmod +x ~/.docker/cli-plugins/docker-buildx
docker buildx install

Then 'docker image build' command should work normally

chrissound commented 8 months ago

I think this is now fixed? @HarrisKirk