Docker: Got permission denied while trying to connect to the Docker daemon socket at unix: var run docker.sock - SuperMarioOfficial/Docker-Wiki GitHub Wiki
Check
cat /etc/group | grep 'docker'
if the user is not there:
sudo usermod -a -G docker $USER