Skip to content

修改docker demon配置后,docker构建没有使用新配置 #49

Open
@GlowingRuby

Description

@GlowingRuby

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目录下可以生效

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions