Couldn’t connect to Docker daemon

Solution:

$ sudo usermod -aG docker $(whoami)

then reboot system.

Done!

--

--