Hello Guys when I run docker version
My docker compose version is : docker compose version
Docker Compose version v2.2.2
Client: Docker Engine - Community
Version: 20.10.18
API version: 1.41
Go version: go1.18.6
Git commit: b40c2f6
Built: Thu Sep 8 23:11:43 2022
OS/Arch: linux/amd64
Context: desktop-linux
Experimental: true
Cannot connect to the Docker daemon at unix:///home/tonton/.docker/desktop/docker.sock. Is the docker daemon running?
I am using ubuntu 22.04 version.
2
Answers
In my case:
sudo docker images
today there is the same issue.docker context use default
makes everything come back to normal.So I think that the remained docker-desktop context takes the responsibility…..
I deleted /home/user/.docker/* and it solved my problem. Probably I had reinstalled all but not I did not delete the old configuration.