Difference between revisions of "Kubectl create secret docker-registry"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
* <code>[[kubectl create secret docker-registry -h]]</code> | * <code>[[kubectl create secret docker-registry -h]]</code> | ||
+ | |||
+ | [[kubectl create secret generic]] YOURregcred [[--from-file]]=[[.dockerconfigjson]]=/path/to/[[.docker/config.json]] [[--type]]=[[kubernetes.io/dockerconfigjson]] | ||
== See also == | == See also == | ||
* {{kubectl create secret}} | * {{kubectl create secret}} | ||
* {{Registry}} | * {{Registry}} |
Revision as of 05:17, 18 July 2024
kubectl create secret generic YOURregcred --from-file=.dockerconfigjson=/path/to/.docker/config.json --type=kubernetes.io/dockerconfigjson
See also
Advertising: