codekitchen / dinghy

faster, friendlier Docker on OS X
MIT License
2.12k stars 109 forks source link

env has no docker_host #294

Open boxshadow opened 3 years ago

boxshadow commented 3 years ago

when I run dinghy restart or dinghy up the result

➜  laradock (master) ✗ dinghy restart          
Stopping the FsEvents daemon
Stopping the dinghy VM...
Stopping NFS daemon, this will require sudo
Password:
Starting the dinghy VM...
Starting NFS daemon, this will require sudo
Waiting for NFS daemon...
NFS mounting failed
Starting the FsEvents daemon
Starting DNS and HTTP proxy
docker: Cannot connect to the Docker daemon at tcp://localhost:2376. Is the docker daemon running?.
See 'docker run --help'.
   VM: running
  NFS: stopped
 FSEV: running
  DNS: stopped
PROXY: stopped

NFS failed to run
details available in log file: /usr/local/Cellar/dinghy/4.6.5/local/var/dinghy-NFS.output

To connect the Docker client to the Docker daemon, please set these environment variables.
You can set them by running:
    eval $(dinghy env)
It's recommended to add this to your shell config such as ~/.bash_profile

    export DOCKER_HOST=tcp://:2376
    export DOCKER_CERT_PATH=/Users/john/.docker/machine/machines/dinghy
    export DOCKER_TLS_VERIFY=1
    export DOCKER_MACHINE_NAME=dinghy
boxshadow commented 3 years ago

NFS DNS and PROXY were stopped,