How do you secure the Docker daemon's remote API?
AdvancedConceptRuntime Stack, OCI & Registries
Answer
Never expose tcp://0.0.0.0:2375 unauthenticated; it is root on the host. Use tcp://:2376 with mutual TLS (--tlsverify --tlscacert --tlscert --tlskey) or, simpler, SSH (ssh://user@host) with docker context. Restrict with firewall rules.
More on Runtime Stack, OCI & Registries
What is the architecture of Docker Engine?IntermediateWhat is the OCI and what specs does it define?IntermediateWhat does `runc` do?IntermediateWhat is containerd and how does it relate to Docker and Kubernetes?IntermediateWhat are `ctr`, `crictl` and `nerdctl`?IntermediateWhat is CRI-O?Intermediate