Personal linux knowledge base
Create group and add your user to it:
sudo groupadd docker
sudo gpasswd -a $USER docker
Then fix sock permissions:
sudo setfacl --modify user:<user name or ID>:rw /var/run/docker.sock