Tag:

在Windows上的多克斯多级COPY C:\窗户不允许

我正在尝试在一个docker容器中安装vsbuildtools for windows。 不幸的是,即使安装了installPath,安装程序也随处安装。 因此,我必须这样做 Step 27/32 : COPY –from=SetupPhase C:\Windows C:\Windows 但它给了我这个错误: docker : COPY failed: copy from c:\ or c:\windows is not allowed on windows At line:1 char:1 + docker build -m 2GB -t monamimani/msbuild . + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (COPY failed: co…owed on windows:String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError […]