修改docker demon配置后,docker构建没有使用新配置
GlowingRuby opened this issue · 0 comments
GlowingRuby commented
Dockerfile里使用了COPY --chmod=xxx,修改了daemon.json添加
"features": {
"buildkit": true
}
重新构建还是报errorDetail={message=the --chmod option requires BuildKit. Refer to https://docs.docker.com/go/buildkit/ to learn how to build images with BuildKit enabled},error=the --chmod option requires BuildKit. Refer to https://docs.docker.com/go/buildkit/ to learn how to build images with BuildKit enabled
尝试了重启server、agent等均不生效
但是使用命令行在jpom创建的source目录下可以生效