I installed dinghy, docker on mac os x. If I try this, it works:
$dinghy up
Starting the dinghy VM...
Starting NFS daemon, this will require sudo
Password:
Waiting for NFS daemon...
Mounting NFS /Users/xxxx
Starting the FsEvents daemon
Starting DNS and HTTP proxy
xxxxxxxxxxxxx
VM: running
NFS: running
FSEV: running
PROXY: running
Then try to start docker either (docker-compose up)or(docker ps), the message shows:
Cannot connect to the Docker daemon. Is the docker daemon running on this host?
Problem solves when I try:
eval $(dinghy env)
But I shouldn't have to do this every time when I open new console, I didn't in last environment. According to the site here I also tried: Cannot connect to the Docker daemon. Is the docker daemon running on this host?
$sudo usermod -aG docker $USER
But it shows:
sudo: usermod: command not found
Please let me know how I can solve this, so I don't have to set eval $(dinghy env)
everytime.
Thanks,