本篇文章主要介绍了"Docker 安装 之 toolbox在Windows下安装Docker)",主要涉及到方面的内容,对于系统运维感兴趣的同学可以参考一下:
安装之前先了解下关键概念:在linux上安装Docker,你的机器即使localhost也是docker主机;在网络中,localhost是指您的计算机。doc...
Creating Machine default…
Creating VirtualBox VM…
Creating SSH key…
Starting VirtualBox VM…
Starting VM…
To see how to connect Docker to this machine, run: G:\Program Files\Docker Toolbox\docker-machine.exe env default
Starting machine default…
Started machines may have new IP addresses. You may need to re-run the `docker-machine env` command.
Setting environment variables for machine default…
## .
## ## ## ==
## ## ## ## ## ===
/”””””””””””””””””\___/ ===
~~~ {~~ ~~~~ ~~~ ~~~~ ~~~ ~ / ===- ~~~
\______ o __/
\ \ __/
\____\_______/
docker is configured to use the default machine with IP 192.168.99.100
For help getting started, check out the docs at https://docs.docker.com
lei@ganlei MINGW64 ~
$
瞅一眼Docker主机是什么样子的:

通过运行hello-world容器来验证是否安装成功:
lei@ganlei MINGW64 ~
$ docker run hello-world
Unable to find image ‘hello-world:latest’ locally
latest: Pulling from library/hello-world
535020c3e8ad: Pulling fs layer
af340544ed62: Pulling fs layer
af340544ed62: Verifying Checksum
af340544ed62: Download complete
535020c3e8ad: Verifying Checksum
535020c3e8ad: Download complete
535020c3e8ad: Pull complete
af340544ed62: Pull complete
library/hello-world:latest: The image you are pulling has been verified. Important: image verification is a tech preview feature and should not be relied on to provide security.
Digest: sha256:02fee8c3220ba806531f606525eceb83f4feb654f62b207191b1c9209188dedd
Status: Downloaded newer image for hello-world:latest
Hello from Docker.
This message shows that your installation appears to be working correctly.