下载镜像,安装环境
我们先执行如下命令,启动虚拟机:
$ boot2docker start
2014/08/18 21:22:41 Waiting for VM to be started...
...........
2014/08/18 21:23:21 Started.
2014/08/18 21:23:21 Docker client does not run on Windows for now. Please use
2014/08/18 21:23:21 "boot2docker" ssh
2014/08/18 21:23:21 to SSH into the VM instead.
如果我们的物理机内存低于4G,那么跑这个boot2docker可能需要手动设置内存占用大小: