Docker socket

The Unix socket, usually `/var/run/docker.sock`, through which the Docker CLI talks to the Docker daemon.

Updated November 23, 2026

Whoever can write to the socket controls every container on the host, so it is normally owned by root and the docker group. A user outside that group sees “permission denied while trying to connect to the Docker daemon socket”.

The error page for that message explains the fix.