I am stuck on this error since yesterday. I am trying to run the command
docker run hello-world
on my Ubuntu bash but it keeps giving the same error. I don't understand what am I doing wrong.
My ~/.bashrc file also has the required environment variables.
CodePudding user response:
have you tried to add docker group etc. ? these are the required post installation steps:
sudo groupadd docker
sudo usermod -aG docker $USER
Log out and log back in so that your group membership is re-evaluated.
source: https://docs.docker.com/engine/install/linux-postinstall/
CodePudding user response:
So, I was able to fix it by commenting the line `export DOCKER_HOST='tcp://0.0.0.0:2375', according to this post WSL2 Cannot connect to the Docker daemon