Created
March 9, 2021 14:33
-
-
Save iamcryptoki/dcfe8a242153686825140682df308680 to your computer and use it in GitHub Desktop.
Access private Docker Hub repository from Kubernetes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ kubectl create secret docker-registry <SECRET_NAME> \ | |
| --docker-server=https://docker.io \ | |
| --docker-username=<DOCKER_USERNAME> \ | |
| --docker-password=<DOCKER_TOKEN> \ | |
| --docker-email=<DOCKER_EMAIL> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment