在Windows上运行docker shell

Use*_*rol 2 windows bash shell docker

我刚刚安装了Docker工具箱1.9.1(只有docker本身加上Kitematic,因为我已经安装了VirtualBox和Git for Windows).单击Docker Quickstart终端图标无法正常工作,因此我必须C:\Program Files (x86)\Git\bin\bash.exe按照建议将其关联.现在它开始正常,但我无法运行docker命令:

在此输入图像描述

Kitematic工作得很好,但我需要外壳.我如何解决它?

Von*_*onC 8

检查docker-machine.exe安装位置(或复制最新发布的%PATH%)并使用它,而不是快速入门.
从常规CMD会话:

# find the name of the machine created.
docker-machine ls
docker-machine env --shell cmd <nameOfTheMachine>
docker-machine ssh <nameOfTheMachine>
Run Code Online (Sandbox Code Playgroud)

您所使用的shell是boot2docker.iso由VirtualBox管理的Linux TinyCore 映像提供的shell ,而不是git-bash安装在Windows主机上的shell .