我是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.
知道它是“安全的”并不能说明它为什么有用。
我不清楚的是:
- 什么是 Docker 客户端?
- 什么是 Docker 守护进程?
- 什么是 Docker 主机?(Boot2Docker VM 本身吗?)