kubernetes-installation/DOCKER-PRIVREGISTRY.md

8 lines
191 B
Markdown
Raw Normal View History

2021-10-22 10:26:56 +07:00
# Docker Private Registry for Kubernetes
```shell
kubectl create secret generic regcred \
--from-file=.dockerconfigjson=$HOME/.docker/config.json \
--type=kubernetes.io/dockerconfigjson
```