I'm getting what appears to be a very common error running docker. Doing a 'docker ps' as a normal user, I'll get "Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock"
A bit of googling provides obvious answers: make the calling user a member of the 'docker' group. I'm guessing in these cases the assumption is that the linux involved has setup the permissions on the .sock to be root:docker (where the 'docker' group was created as part of installing the docker software).
However on 19.04 the user/group is root/root, and there's no docker group.
I tried using setfacl to add that user, which worked great! Until I rebooted. Then, sadness. Looks like the ACLs were reset.
I'm guessing the ACL is removed because it's a socket and recreated when docker restarts.
How do I persist setfacl for this scenario? Or is there a more '19.04' way of doing this?