First, add your user to group docker
sudo usermod -aG docker <username>
And restart Docker daemon
sudo systemctl restart docker
If this not help, change acl for file access:
sudo setfacl --modify user:<username>:rw /var/run/docker.sock
First, add your user to group docker
sudo usermod -aG docker <username>
And restart Docker daemon
sudo systemctl restart docker
If this not help, change acl for file access:
sudo setfacl --modify user:<username>:rw /var/run/docker.sock