Docker Remote API
What is Docker Remote API?
The Docker Remote API (also called the Docker Engine API) is the HTTP interface the Docker daemon exposes for creating and inspecting containers, carrying no authentication of its own unless TLS client certificates are configured. AdminKit's port-exposure guide shows how to check whether your own Docker Engine API is reachable from the internet without one.
By AdminKit team, Netbase JSC · Updated
The Docker Remote API (also called the Docker Engine API) is the HTTP interface the Docker daemon exposes for creating, starting and inspecting containers, documented directly in Docker’s own API reference rather than an IETF or ISO standard. IANA registers TCP port 2375 for it in plaintext and 2376 for the TLS-secured version, but the API itself carries no authentication of its own — Docker’s documentation assumes a trusted local Unix socket or a properly configured mutual TLS (client-certificate) setup, never a bare network port. The first rule of OWASP’s Docker Security Cheat Sheet is not to expose the Docker daemon socket, and it warns that running the daemon with -H tcp://0.0.0.0:XXX or similar exposes unencrypted and unauthenticated direct access to it. Because the daemon runs as root and can mount a host’s filesystem into any container it starts, a Remote API reachable on port 2375 without TLS gives an unauthenticated caller the equivalent of a root shell on the host, which is why cryptomining campaigns scan for it continuously rather than treating it as a minor misconfiguration.
Docker Remote API is part of AdminKit’s machine protocols cluster; the full AdminKit glossary lists other related terms.
Frequently asked questions
Does the Docker Remote API authenticate requests by default?
No -- it carries no authentication of its own unless TLS client certificates are configured; Docker's documentation assumes a trusted local Unix socket or a properly configured mutual TLS setup.
What can an unauthenticated caller do with a reachable Docker Remote API?
Get the equivalent of a root shell on the host, since the daemon runs as root and can mount the host's filesystem into any container it starts.
What ports does IANA register for the Docker Remote API?
TCP port 2375 for the plaintext version and 2376 for the TLS-secured version.
Is the Docker Remote API defined by an IETF or ISO standard?
No -- it's documented directly in Docker's own API reference rather than an IETF or ISO standard.