0
運行泊塢窗ps命令是,而我得到了一個錯誤 -bash的語法錯誤,同時運行泊塢窗命令
> An error occurred trying to connect: Get
> http://localhost:2375/v1.21/containers/json?all=1: dial tcp
> 127.0.0.1:2375: ConnectEx tcp: No connection could be made because the target machine actively refused it.
我試圖使用指令出現在這個論壇來糾正錯誤 - https://forums.docker.com/t/windows-an-error-occurred-trying-to-connect/4384
我在最後一步面臨一個錯誤,即在混帳的bash運行此命令 -
FOR /f "tokens=*" %i IN ('"C:\Program Files\Docker Toolbox\docker-machine.exe" env --shell cmd machinename') DO %i
的錯誤,我得到是
bash: syntax error near unexpected token `('
任何幫助解決這個問題?我試圖逃避單引號和雙引號,但沒有奏效。