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

From wikieduonline
Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
Line 3: Line 3:
  
 
* <code>[[kubectl create secret docker-registry -h]]</code>
 
* <code>[[kubectl create secret docker-registry -h]]</code>
 +
 +
kubectl create secret docker-registry [[LowercaseRFC1123NAME]] --docker-username=user --docker-password=password
 +
secret/LowercaseRFC1123NAME [[created]]
 +
 +
[[--docker-server]] xxxx.[[azurecr.io]]
  
 
  kubectl create secret docker-registry NAME --docker-username=user --docker-password=password --docker-email=email [--docker-server=string] [--from-file=[key=]source] [--dry-run=server|client|none]
 
  kubectl create secret docker-registry NAME --docker-username=user --docker-password=password --docker-email=email [--docker-server=string] [--from-file=[key=]source] [--dry-run=server|client|none]
Line 12: Line 17:
 
* [[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]]
 
* [[docker login]]
 +
* Lowercase [[RFC 1123]]
  
 
== See also ==
 
== See also ==
 
* {{kubectl create secret}}
 
* {{kubectl create secret}}
 
* {{Registry}}
 
* {{Registry}}

Latest revision as of 05:49, 18 July 2024

kubectl create secret docker-registry LowercaseRFC1123NAME --docker-username=user --docker-password=password 
secret/LowercaseRFC1123NAME created
--docker-server xxxx.azurecr.io
kubectl create secret docker-registry NAME --docker-username=user --docker-password=password --docker-email=email [--docker-server=string] [--from-file=[key=]source] [--dry-run=server|client|none]



See also[edit]

Advertising: