install docker in windows
- download docker toolbox
如果在 win7 或者 win8 上使用 docker ,可以首先安装下面的工具。
https://download.docker.com/win/stable/DockerToolbox.exe
- config docker toolbox to cmder
1
| "C:\Program Files\Git\bin\bash.exe" --login -i "C:\Program Files\Docker Toolbox\start.sh"
|
- 基本配置
1 2 3 4 5 6 7 8
| docker pull centos:6.10
docker run -ti centos:6.10
docker run -it --name hadoop-env -v ~/workspace/docker:/root/data centos:6.10
|
参考
- Get started with Docker for Windows
- Docker Toolbox overview
- Running Docker Quickstart Terminal Inside ConEmu