无法将MCDEV识别为内部或外部命令-Windows

时间:2019-12-13 11:47:27

标签: windows docker microclimate

在Microclimate中运行install.ps1并最终获得消息:

Microclimate CLI installed. Run 'mcdev help' for usage instructions

但是在打开一个新的shell或在同一个shell中调用mcdev输出之后:

mcdev : The term 'mcdev' 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:1 char:1
+ mcdev
+ ~~~~~
    + CategoryInfo          : ObjectNotFound: (mcdev:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException


Suggestion [3,General]: The command mcdev was not found, but does exist in the current location. Windows PowerShell does not load commands from the current location by default. If you trust this command, instead type: ".\mcdev". See "get-help about_Command_Precedence" for more details.

使用。\ mcdev运行似乎也不起作用。

信息:

Microclimate 19.05
Windows 10
Docker info
Client: Docker Engine - Community
 Version:           19.03.5
 API version:       1.40
Server: Docker Engine - Community
 Engine:
  Version:          19.03.5

0 个答案:

没有答案