Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to create docker secret in kubernetes

kubectl create secret generic regcred 
    --from-file=.dockerconfigjson=<path/to/.docker/config.json> 
    --type=kubernetes.io/dockerconfigjson
Source by kubernetes.io #
 
PREVIOUS NEXT
Tagged: #create #docker #secret #kubernetes
ADD COMMENT
Topic
Name
4+4 =