In my devcontainer, I'm enabling docker-in-docker using this config:
"ghcr.io/devcontainers/features/docker-in-docker:2": {
"moby": "false",
},
However, when running in GitHub Codespaces, Docker Buildx doesn't seem to be installed as I get this error when trying to run azd deploy on an Azure sample repo using containers:
azd deploy
Deploying services (azd deploy)
(x) Failed: Deploying service backend
ERROR: failed building service 'backend': failing invoking action 'build', building container: backend at ../..: building image: exit code: 1, stdout: , stderr: ERROR: BuildKit is enabled but the buildx component is missing or broken.
Install the buildx component to build images with BuildKit:
https://docs.docker.com/go/buildx/
Here's the installed docker version:
docker --version
Docker version 25.0.1, build 29cf629
In my devcontainer, I'm enabling docker-in-docker using this config:
However, when running in GitHub Codespaces, Docker Buildx doesn't seem to be installed as I get this error when trying to run
azd deployon an Azure sample repo using containers:Here's the installed docker version: