[vagrant@localhost ~]$ sudo docker version Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
$ sudo groupadd docker
$ sudo usermod -aG docker $USER
Log in again
$ newgrp docker
$ sudo docker version
Resolve if there is no daemon error
reference https://docs.docker.com/engine/install/linux-postinstall/ https://stackoverflow.com/questions/21871479/docker-cant-connect-to-docker-daemon