Docker remote access: listen for clients beyond a Unix socket
Answer: The Docker daemon can accept requests from remote clients as well as local ones.
Default listener and risks
By default, the daemon listens on a Unix socket for local clients.
You can configure it to listen on an IP address and port as well as the Unix socket.
Configuring Docker to accept connections from remote clients can leave you vulnerable.
Remote non-root users could gain root access on the host if the connection is not secured.
How to enable it
Remote access without TLS is not recommended.
It will require explicit opt-in in a future release.
On Linux distributions using systemd, a docker.service unit file can enable remote access.
See also
Claims
- id: C1 claim: By default, the daemon listens on a Unix socket for local clients. source: S1 evidence: "the Docker daemon listens for connections on a Unix socket"
- id: C2 claim: Remote non-root users could gain root access on the host. source: S1 evidence: "remote non-root users to gain root access on the host"
- id: C3 claim: Remote access without TLS is not recommended. source: S2 evidence: "will require explicit opt-in in a future release"
- id: C4 claim: The daemon listens on a Unix socket by default. source: S2 evidence: "the Docker daemon listens for connections on a Unix socket"
Sources
- [S1] Configure remote access for Docker daemon. Docker, Inc.. https://docs.docker.com/engine/daemon/remote-access/ . License: Apache License 2.0. Accessed 2026-11-26.
- [S2] Configure remote access for Docker daemon (source). Docker, Inc.. https://raw.githubusercontent.com/docker/docs/main/content/manuals/engine/daemon/remote-access.md . License: Apache License 2.0. Accessed 2026-11-26.
License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Docker, Inc., Configure remote access for Docker daemon; Docker, Inc., Configure remote access for Docker daemon (source). Apache-2.0 (https://raw.githubusercontent.com/docker/docs/main/LICENSE). Copyright Docker, Inc. Text was condensed and changed from the originals.
License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: Docker, Inc., Configure remote access for Docker daemon; Docker, Inc., Configure remote access for Docker daemon (source). Apache-2.0 (https://raw.githubusercontent.com/docker/docs/main/LICENSE). Copyright Docker, Inc.
Cite this
iinventedlight. 2026. "Docker remote access: listen for clients beyond a Unix socket." iinventedlight Library, iil:note:13h3bbe9, version of 2026-11-26. https://iinventedlight.com/library/notes/docker-remote-access/. License: CC-BY-4.0.
@misc{iil_note_13h3bbe9,
author = {{iinventedlight}},
title = {{Docker remote access: listen for clients beyond a Unix socket}},
howpublished = {iinventedlight Library},
year = {2026},
date = {2026-11-26},
url = {https://iinventedlight.com/library/notes/docker-remote-access/},
note = {Permanent ID iil:note:13h3bbe9. License: CC-BY-4.0.},
}
Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).
Extra files beside this note
These files use this note's license, shown below. Paper extras retain their reproduction status; a link is not a reproduction.
- docker-remote-access.schema.json (schema; CC-BY-4.0)
- docker-remote-access.table.json (table; CC-BY-4.0)
For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/docker-remote-access.md.