Difference between revisions of "Kubectl create secret docker-registry"

From wikieduonline
Jump to navigation Jump to search
Line 7: Line 7:
  
 
* [[Pull an Image from a Private Registry in Kubernetes]]
 
* [[Pull an Image from a Private Registry in Kubernetes]]
[[kubectl create secret generic]] YOURregcred [[--from-file]]=[[.dockerconfigjson]]=/path/to/[[.docker/config.json]] [[--type]]=[[kubernetes.io/dockerconfigjson]]
+
* [[kubectl create secret generic]] YOURregcred [[--from-file]]=[[.dockerconfigjson]]=/path/to/[[.docker/config.json]] [[--type]]=[[kubernetes.io/dockerconfigjson]]
 +
* [[docker login]]
  
 
== See also ==
 
== See also ==
 
* {{kubectl create secret}}
 
* {{kubectl create secret}}
 
* {{Registry}}
 
* {{Registry}}

Revision as of 05:20, 18 July 2024

Advertising: