Unix socket

A special file that two programs on the same machine use to talk to each other.

In more detail

A Unix domain socket works like a network connection but never leaves the machine, and file permissions decide who may connect. The Docker CLI talks to the daemon through one. Network sockets, by contrast, are identified by an IP address and port.

Related terms

Taught in

References