containers/images: clarify dockercfg limitions. (#12429)

Related #59406

This commit clarifies the limitations of dockercfg use by Kubernetes, specifically, the lack of support for credential helpers.
This commit is contained in:
O'meid
2019-02-01 10:05:33 +11:00
committed by Kubernetes Prow Robot
parent 9da045a934
commit d0d29d9ff0
@@ -170,6 +170,11 @@ will not work reliably on GCE, and any other cloud provider that does automatic
node replacement. node replacement.
{{< /note >}} {{< /note >}}
{{< note >}}
Kubernetes as of now only supports the `auths` and `HttpHeaders` section of docker config. This means credential helpers (`credHelpers` or `credsStore`) are not supported.
{{< /note >}}
Docker stores keys for private registries in the `$HOME/.dockercfg` or `$HOME/.docker/config.json` file. If you put the same file Docker stores keys for private registries in the `$HOME/.dockercfg` or `$HOME/.docker/config.json` file. If you put the same file
in the search paths list below, kubelet uses it as the credential provider when pulling images. in the search paths list below, kubelet uses it as the credential provider when pulling images.