failed to solve with frontend dockerfile.v0: failed to read dockerfile: failed to mount in-place: {bind C:\ProgramData\Docker\windowsfilter\671od2buikpovir2dbg7gyagw [rbind ro]}: invalid windows mount type: ‘bind’
在 docker 设置中,确保将 buildkit 设置为 false,如下所示:
textpop-up
“features”: {
“buildkit”: false
}
BuildKit 是“仅支持构建 Linux 容器”的功能:https://docs.docker.com/develop/develop-images/build_enhancements/
不幸的是,在全新安装中,它的值默认为 true,并且在切换到 Windows 容器时不会更改为 false。