/var/run/docker.sock
/var/run/
docker ps Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.40/containers/json: dial unix /var/run/docker.sock: connect: permission denied Solution: sudo docker ps
minikube start 😄 minikube v1.25.2 on Darwin 12.5.1 (arm64) ✨ Using the docker driver based on existing profile 💣 Exiting due to PROVIDER_DOCKER_VERSION_EXIT_1: "docker version --format -" exit status 1: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/version": dial unix /var/run/docker.sock: connect: permission denied 📘 Documentation: https://minikube.sigs.k8s.io/docs/drivers/docker/
version: '3' services: redis: image: redis datadog: build: datadog pid: host environment: - DD_API_KEY=${DD_API_KEY} - DD_SITE=datadoghq.com volumes: - /var/run/docker.sock:/var/run/docker.sock - /proc/:/host/proc/:ro - /sys/fs/cgroup:/host/sys/fs/cgroup:ro
Related terms
docker ps
docker context ls
- Cannot connect to the Docker daemon
/var/run/crio/crio.sock
- Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
unix:///var/run/docker.sock
curl --unix-socket /var/run/docker.sock http://localhost/version
See also
- Docker: dockerd, docker (command), dockerd-ce (dockerd), docker-proxy, Docker Kubernetes Service (DKS),
/var/lib/docker/, /var/run/docker.sock
, 9323, /etc/docker/daemon.json
Advertising: