詰まったのでメモ。
docker起動中に、PCが強制終了してしまったところ以下エラーが発生しました。
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
言葉の通りなのですが、docker daemonが起動していません。
Docker quick start terminalで起動させましょう。
しかしもし起動させても以下メッセージが出る場合もあります。
## .
## ## ## ==
## ## ## ## ## ===
/"""""""""""""""""\___/ ===
~~~ {~~ ~~~~ ~~~ ~~~~ ~~~ ~ / ===- ~~~
\______ o __/
\ \ __/
\____\_______/
Error getting IP address: ssh command error:
command : ip addr show
err : exit status 255
output :
docker is configured to use the default machine with IP
For help getting started, check out the docs at https://docs.docker.com
その場合は、以下コマンドでdefaultを削除。
その後再度Dcoker quick start terminalを起動させれば解決します。
docker-machine rm default