← All notes

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

Sources

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

Permanent ID: iil:note:13h3bbe9

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.},
}

Markdown

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.

All artifact files (JSON index)

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.