Mac上にVagrantマシン(CentOS)を起動して、Dockerをインストールしました。
その後、$ docker login をすると以下のエラーになります。
[vagrant@demo ~]$ docker login
Warning: failed to get default registry endpoint from daemon (Cannot connect to the Docker daemon. Is the docker daemon running on this host?). Using system default: docker.io
Username: xxxxxxx
Password:
Email: xxxxxxxxxxxxxxxxxx
Cannot connect to the Docker daemon. Is the docker daemon running on this host?