$ docker login

$ cat ~/.docker/config.json

$ kubectl create secret generic regcred --from-file=.dockerconfigjson=./.docker/config.json --type=kubernetes.io/dockerconfigjson

$ kubectl create secret docker-registry regcred --docker-server=https://index.docker.io/v2/ --docker-username=xxxxxxxxx --docker-password=xxxxxxxxx --docker-email=xxxxxxxxx
