Replies: 1 comment
-
|
Docker is written in Go and uses Go's standard Currently, neither the Docker Daemon configuration ( Here are the standard approaches to enforce TLS 1.3 for Docker operations: 1. Server-Side / Registry Enforcement (Recommended)The most reliable way to enforce TLS 1.3 is to configure your container registry or reverse proxy (Nginx, Traefik, HAProxy, AWS ALB) in front of the registry to only accept TLS 1.3:
When the registry refuses TLS 1.2 during the initial handshake negotiation, the Go HTTP client in Docker is forced to negotiate TLS 1.3. 2. System Crypto-Policies (Enterprise Linux / RHEL / Fedora)If you are running Docker on RHEL/Fedora and using system-provided Go / Docker packages built with FIPS/BoringCrypto integration, you can set the system-wide crypto policy: sudo update-crypto-policies --set FUTURE |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Sometimes the docker login command, or subsequent docker push / pull commands negotiate a TLSv1.2 connection (as seen in tcpdump). I want to force it to always use TLSv1.3. The docker daemon config files has no such option, can it be forced via an env var or global go setting?
Beta Was this translation helpful? Give feedback.
All reactions