docker and tilix permission denied for unprivileged user

  Kiến thức lập trình

My user is added to the docker group. I can run docker w/o sudo on any terminal except tilix, which I use as my default on my cinnamon desktop (Ubuntu).

on tilix:
marko@malix:~$ sudo systemctl reload-or-restart docker.socket
marko@malix:~$ docker images
permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Head “http://%2Fvar%2Frun%2Fdocker.sock/_ping”: dial unix /var/run/docker.sock: connect: permission denied

But on xterm:
marko@malix:~$ docker rm a57705559061
a57705559061

New contributor

Marek Szadkowski is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

LEAVE A COMMENT