使用WindowsServerCore的Docker中没有PowerShell帮助

使用WindowsServerCore的Docker中没有PowerShell帮助,powershell,docker,Powershell,Docker,我正在使用Docker和WindowsServerCore基本映像为一些Ops提供不同的PowerShell模块。如果启动容器并尝试使用Get-Helpcmdlet,则会出现以下错误: PS C:\Users\ContainerAdministrator> help *service* more.com : The term 'more.com' is not recognized as the name of a cmdlet, function, script file, or ope

我正在使用Docker和WindowsServerCore基本映像为一些Ops提供不同的PowerShell模块。如果启动容器并尝试使用
Get-Help
cmdlet,则会出现以下错误:

PS C:\Users\ContainerAdministrator> help *service*
more.com : The term 'more.com' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:9 char:19
+ } else { $input | more.com }
+                   ~~~~~~~~
+ CategoryInfo          : ObjectNotFound: (more.com:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
有什么提示吗


Thx

从这两个问题开始,说明
help
的运行方式与
Get-help
的运行方式不同,许多命令在没有
Get-
的情况下运行,但它是一个通过管道连接到
more.com
的函数。可能可执行文件
more.com
未包含在WindowsServerCore基本映像中。

您是在2016年使用本机容器还是在使用Docker for Windows/Toolbox?我正在使用Docker for Windows(OS=Win 10)Thx,让我开心一天!