If you’re running the Astronomer CLI with the buildkit feature enabled in Docker, you may see this error on running $ astro dev start
:
Env file “.env” found. Loading…
buildkit not supported by daemon
Error: command 'docker build -t airflow-astro_bcb837/airflow:latest failed: failed to execute cmd: exit status 1…
If you see this, check 2 things:
- Is buildkit support turned on in your daemon.json file (/etc/docker/daemon.json)? If so, you’ll see something like:
{
"experimental": false,
"features": {
"buildkit": true
}
}
- Set
"buildkit"
tofalse
and restart Docker.
- Is buildkit support turned on by an environment variable?
- Check to see if the DOCKER_BUILDKIT env variable is set to 1.
- If yes, set to 0 and restart Docker.
That should do the trick. If the problem persists, don’t hesitate to reach out to Astronomer Support.