I am running Docker Desktop on W11. Docker Desktop > Settings > Resources > WSL Integration is enabled. Tried to restart the WSL from services (Lxssmanager) or to shutdown/reboot it with wsl --shutdown, no effect.
WSL Integration enabled
Although when I try to build image from Dockerfile this error pops up:
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
$ docker info
Client:
Context: default
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc., v0.9.1)
compose: Docker Compose (Docker Inc., v2.12.1)
dev: Docker Dev Environments (Docker Inc., v0.0.3)
extension: Manages Docker extensions (Docker Inc., v0.2.13)
sbom: View the packaged-based Software Bill Of Materials (SBOM) for an image (Anchore Inc., 0.6.0)
scan: Docker Scan (Docker Inc., v0.21.0)
Server:
ERROR: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
errors pretty printing info
It can't connect to dockerd, but somehow it prints out some information? I'm confused.
$ sudo systemctl start docker
Failed to start docker.service: Unit docker.service not found.
Any tips are welcome! Thank you