Add docker priv registry

This commit is contained in:
Sambo Chea 2021-10-22 10:26:56 +07:00
parent 6b54193e82
commit 5d23859c51
Signed by: sombochea
GPG Key ID: 3C7CF22A05D95490

7
DOCKER-PRIVREGISTRY.md Normal file
View File

@ -0,0 +1,7 @@
# Docker Private Registry for Kubernetes
```shell
kubectl create secret generic regcred \
--from-file=.dockerconfigjson=$HOME/.docker/config.json \
--type=kubernetes.io/dockerconfigjson
```