Import-Module posh-docker
是不工作的电源外壳,同时以管理员身份运行导入模块豪华,码头工人不工作
我试图使当前PowerShell命令自动完成,但得到以下错误。 executionpolicy已经设置为RemoteSigned。我的系统中有Docker Toolbox。
Import-Module : The specified module 'posh-docker' was not loaded because no valid module
file was found directory. At line:1 char:1
+ Import-Module posh-docker
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (posh-docker:String) [Import-Module], FileNotFoundExc
+ FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
是,其真正的..谢谢删除
C:\Users\[user]\Documents\WindowsPowerShell\modules\posh-docker\*
Install-Module -Scope AllUsers posh-docker
.. – Girish