failed to build: the --mount option requires BuildKit. Refer to https://docs.docker.com/go/buildkit/
环境描述:Dokcerfile错误:解决方案一:Build images with BuildKit | Docker DocumentationLearn the new features of Docker Build with BuildKithttps://docs.docker.com/develop/develop-images/build_enhancements/#to-enabl
·
环境描述:
Dokcerfile
错误:
解决方案一:
linux:
export DOCKER_BUILDKIT=1 # or configure in daemon.json
export COMPOSE_DOCKER_CLI_BUILD=1
windows :
setx DOCKER_BUILDKIT 1 # or configure in daemon.json
setx COMPOSE_DOCKER_CLI_BUILD 1
参考链接:
更多推荐
已为社区贡献1条内容
所有评论(0)