Pull an Image from a Private Registry in Kubernetes

From wikieduonline
Jump to navigation Jump to search


kubectl create secret generic regcred --from-file=.dockerconfigjson=<path/to/.docker/config.json> --type=kubernetes.io/dockerconfigjson


kubectl create secret docker-registry

Related

See also

Advertising: