Closed zcr268 closed 3 months ago
Hey!
Try enabling support in the Docker daemon settings in /etc/docker/daemon.json
:
{
"features": {
"buildkit": true
}
}
Then restart the daemon systemctl restart docker
.
You can build the generateconfig
image on any machine using newer versions of Docker that has BuildKit built in. Then save the image docker image save generateconfig > generateconfig.tar
, and finally import it on the target machine using docker import
.
Have you read a contributing guide?
Current Behavior
docker build -t generateconfig -f Dockerfile-generateconfig .
Expected Behavior
build sucess
Steps To Reproduce
docker build -t generateconfig -f Dockerfile-generateconfig .
Environment
Anything else?
Step 6/15 : COPY --chmod=777 docker-generateconfig/generate_config.sh .env . the --chmod option requires BuildKit. Refer to https://docs.docker.com/go/buildkit/ to learn how to build images with BuildKit enabled root@d68455700cec:/ql/data/scripts/any-sync-dockercompose $ DOCKER_BUILDKIT=1 docker build -t generateconfig -f Dockerfile-generateconfig . ERROR: BuildKit is enabled but the buildx component is missing or broken.