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:
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.
|
||||
{{< /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
|
||||
in the search paths list below, kubelet uses it as the credential provider when pulling images.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user