在Docker中,无法使用regsvr32注册第三方DLL [在Windows上]

时间:2018-08-06 10:51:46

标签: docker docker-compose dockerfile

我正在使用Windows 10 Pro。

我的Docker文件:

FROM microsoft/iis
SHELL ["powershell","-command"]

RUN New-Item -Path $env:systemdrive\inetpub\XpServerDllFiles -Type Directory
COPY ./BeastClientPlugIn.dll /inetpub/XpServerDllFiles
RUN Start-Process C:\Windows\SysWOW64\regsvr32.exe C:/inetpub/XpServerDllFiles/BeastClientPlugIn.dll

EXPOSE 4849

1 个答案:

答案 0 :(得分:0)

regsvr32 /S

/ S使它在图形上保持静默状态,并允许注册完成。

玩得开心!

相关问题