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!)
3
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
dockerd
You have either set DOCKER_HOST or configured a context.
DOCKER_HOST
unset DOCKER_HOST docker context use default
You need to put your user in the docker group.
sudo usermod -aG docker $USER
Click here to cancel reply.
3
Answers
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 terminalYou have either set
DOCKER_HOST
or configured a context.You need to put your user in the docker group.