我是 Docker 新手,在 OSX 上使用 Boot2Docker。启动它后,会给出以下消息:
To connect the Docker client to the Docker daemon, please set
export DOCKER_HOST=tcp://192.168.59.103:2375
然而,即使没有它,基本的 Docker 命令(例如,docker run hello-world
)也能正常工作。
安装说明不是很丰富:
Note: If you see a message in the terminal that looks something like this:
To connect the Docker client to the Docker daemon, please set:
export DOCKER_HOST=tcp://192.168.59.103:2375
you can safely set the evironment variable as instructed.
知道它是“安全的”并不能说明它为什么有用。
我不清楚的是:
- 什么是码头工人“客户”?
- 什么是码头工人“守护进程”?
- 什么是码头工人“主机”?(Boot2Docker 虚拟机本身?)