Docker command can’t connect to Docker daemon

You need to add your current user to the docker group as follows:

sudo usermod -aG docker $(whoami)

then logout & login again into the system or restart the system.
test by docker version

for further info how to install docker-engine follow docker documentation

Leave a Comment