kubectl create secret docker-registry
(Redirected from Create secret docker-registry)
Jump to navigation
Jump to search
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]
- 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
- docker login
- Lowercase RFC 1123
See also[edit]
Advertising: