Docker 常见问题

@bingoogolapple 2016-10-16 01:42:14发表于 bingoogolapple/bingoogolapple.github.io Docker

Cannot connect to the Docker daemon. Is the docker daemon running on this host?

➜  ~ docker-machine env default
export DOCKER_TLS_VERIFY="1"
export DOCKER_HOST="tcp://192.168.99.100:2376"
export DOCKER_CERT_PATH="/Users/bingoogol/.docker/machine/machines/default"
export DOCKER_MACHINE_NAME="default"
# Run this command to configure your shell: 
# eval $(docker-machine env default)
➜  ~ eval $(docker-machine env default)