我剛剛安裝了Docker工具箱1.9.1(只有Docker本身和Kitematic,因爲我已經安裝了用於Windows的VirtualBox和Git)。點擊Docker快速入門終端圖標不起作用,所以我不得不按照建議將它與C:\Program Files (x86)\Git\bin\bash.exe
關聯起來。現在,它開始很好,但我無法運行docker
命令:在Windows上運行docker shell
Kitematic工作得很好,但我需要的外殼。我如何解決它?
我剛剛安裝了Docker工具箱1.9.1(只有Docker本身和Kitematic,因爲我已經安裝了用於Windows的VirtualBox和Git)。點擊Docker快速入門終端圖標不起作用,所以我不得不按照建議將它與C:\Program Files (x86)\Git\bin\bash.exe
關聯起來。現在,它開始很好,但我無法運行docker
命令:在Windows上運行docker shell
Kitematic工作得很好,但我需要的外殼。我如何解決它?
檢查已安裝docker-machine.exe
(或copy the latest released one in your %PATH%
)並使用它,而不是快速入門。
從一個普通CMD會話:
# find the name of the machine created.
docker-machine ls
docker-machine env --shell cmd <nameOfTheMachine>
docker machine ssh <nameOfTheMachine>
你是後殼是由VirtualBox的管理Linux的TinyCore boot2docker.iso
圖像提供的一個。
不是您的Windows主機上安裝的git-bash
。