@kakawait Maybe I didn't understand -- if you're using rootless docker, why would you use sudo
?
I didn't customize the docker.socket
unit file -- this was only when trying to shut down the systemd user-level docker
service, something like this:
systemd --user stop docker
(which can hang)
systemd -- user stop --now docker.socket
(which cleared the hang for me IIRC)
There's a big difference between the docker unit available at the system level and the one available at the user level -- systemd stop docker
!== systemd --user stop docker
[EDIT] - I fixed my issue with the ENV, it was indeed .bashrc
and my issue was that I launched startx
from a shell that had DOCKER_HOST
set (so every shell created there-in was inheriting the variable from the initial shell, despite .bashrc
being updated to remove the variable).
Pinned Comments