Docker Engine: verify registry client certificates
Answer: This article shows how to verify a registry client with certificates.
What the certificates do
TLS ensures authenticity of the registry endpoint and that traffic to or from the registry is encrypted.
All crt files in the directory are added as CA roots.
CA certificates should use the extension crt.
How they are tried
If multiple certificates exist, each is tried in alphabetical order.
On Docker Desktop with Linux containers, put client certificates in the certs directory on the host.
Docker Desktop copies them into the VM; do not configure that path inside the VM yourself.
See also
Claims
- id: C1 claim: TLS authenticates the registry endpoint and encrypts traffic. source: S1 evidence: "TLS ensures authenticity of the registry endpoint and that traffic to/from registry is encrypted."
- id: C2 claim: CA certificates should use the crt extension. source: S1 evidence: "CA certificates should use the extension .crt."
- id: C3 claim: TLS authenticates the registry endpoint and encrypts traffic. source: S2 evidence: "TLS ensures authenticity of the registry endpoint and that traffic to/from registry is encrypted."
- id: C4 claim: CA certificates should use the crt extension. source: S2 evidence: "CA certificates should use the extension .crt."
Sources
- [S1] Verify repository client with certificates. Docker, Inc.. https://docs.docker.com/engine/security/certificates/ . License: Apache License 2.0. Accessed 2026-11-25.
- [S2] Verify repository client with certificates (source). Docker, Inc.. https://raw.githubusercontent.com/docker/docs/main/content/manuals/engine/security/certificates.md . License: Apache License 2.0. Accessed 2026-11-25.
License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Docker, Inc., Verify repository client with certificates; Docker, Inc., Verify repository client with certificates (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., Verify repository client with certificates; Docker, Inc., Verify repository client with certificates (source). Apache-2.0 (https://raw.githubusercontent.com/docker/docs/main/LICENSE). Copyright Docker, Inc.
Cite this
iinventedlight. 2026. "Docker Engine: verify registry client certificates." iinventedlight Library, iil:note:ky5knv0w, version of 2026-11-25. https://iinventedlight.com/library/notes/docker-certificates/. License: CC-BY-4.0.
@misc{iil_note_ky5knv0w,
author = {{iinventedlight}},
title = {{Docker Engine: verify registry client certificates}},
howpublished = {iinventedlight Library},
year = {2026},
date = {2026-11-25},
url = {https://iinventedlight.com/library/notes/docker-certificates/},
note = {Permanent ID iil:note:ky5knv0w. 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-certificates.schema.json (schema; CC-BY-4.0)
- docker-certificates.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-certificates.md.