I trying this method, but docker deamon don't working and give me error on pic bottom. Reboot and logout/login also doesn't help me. With 'sudo' all nice working, but i can't use docker in vs-code and docker-desktop without non-root method. !HELP!)
CodePudding user response:
You have either set DOCKER_HOST
or configured a context.
unset DOCKER_HOST
docker context use default
CodePudding user response:
It's probably because you are in wsl and the interaction with the system is different, to get around that I used the dockerd
command in other terminal
CodePudding user response:
You need to put your user in the docker group.
sudo usermod -aG docker $USER