On Ubuntu 22.04, I've installed docker, added myself to the docker group with sudo usermod -a -G docker user, and logged out/in.
However, I still get "permission denied" errors when running docker commands. In /etc/group, I see
docker:x:133:user
but docker doesn't show up when I run groups.
newgrp dockerfix the issue? This should log one into a new group without needing the logout/back in cycle. – thrig Jul 21 '22 at 14:08systemctl status --user, and look for “Since:” near the top. – Stephen Kitt Aug 05 '22 at 07:50