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

From wikieduonline
Jump to navigation Jump to search
Line 6: Line 6:
 
  kubectl create secret docker-registry [[LowercaseRFC1123NAME]] --docker-username=user --docker-password=password  
 
  kubectl create secret docker-registry [[LowercaseRFC1123NAME]] --docker-username=user --docker-password=password  
 
  secret/LowercaseRFC1123NAME [[created]]
 
  secret/LowercaseRFC1123NAME [[created]]
 +
 +
[[--docker-server]]
  
 
  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]

Revision as of 05:48, 18 July 2024

kubectl create secret docker-registry LowercaseRFC1123NAME --docker-username=user --docker-password=password 
secret/LowercaseRFC1123NAME created
--docker-server
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

Advertising: