Document how to configure CA certificate(s) for HTTP proxies
File: network/proxy.md
Most corporate HTTP proxies use a self-signed CA certificate, allowing traffic interception. However, the Docker proxy docs make no mention of certificates.
AFAIK, for such proxies to work you need to install the certificate inside each and every container, which is a huge PITA. It would be great to have officially sanctioned methods documented.
You can work with a self-signed CA - just create a new image that has the custom CA in the trust store.
FROM registry:2
COPY ca.pem /usr/local/share/ca-certificates/my-ca.crt
RUN chmod 644 /usr/local/share/ca-certificates/my-ca.crt && update-ca-certificates
However, any ideas on how to use client certificates for the proxy authentication when the main registry is configured with clientcas?
There hasn't been any activity on this issue for a long time.
If the problem is still relevant, mark the issue as fresh with a /remove-lifecycle stale comment.
If not, this issue will be closed in 14 days. This helps our maintainers focus on the active issues.
Prevent issues from auto-closing with a /lifecycle frozen comment.
/lifecycle stale
Closed issues are locked after 30 days of inactivity. This helps our team focus on active issues.
If you have found a problem that seems similar to this, please open a new issue.
/lifecycle locked