Skip to content
Permalink
Browse files

Issue #14703 - Update Images.md (#14757)

  • Loading branch information...
SupriyaSirbi authored and k8s-ci-robot committed Jun 6, 2019
1 parent fd6ec9b commit 1aae32870dd99ed7612acf2efd3f023b8b875e33
Showing with 1 addition and 13 deletions.
  1. +1 −13 content/en/docs/concepts/containers/images.md
@@ -281,19 +281,7 @@ Kubernetes supports specifying registry keys on a pod.
Run the following command, substituting the appropriate uppercase values:

```shell
cat <<EOF > ./kustomization.yaml
secretGenerator:
- name: myregistrykey
type: docker-registry
literals:
- docker-server=DOCKER_REGISTRY_SERVER
- docker-username=DOCKER_USER
- docker-password=DOCKER_PASSWORD
- docker-email=DOCKER_EMAIL
EOF
kubectl apply -k .
secret/myregistrykey-66h7d4d986 created
kubectl create secret docker-registry <name> --docker-server=DOCKER_REGISTRY_SERVER --docker-username=DOCKER_USER --docker-password=DOCKER_PASSWORD --docker-email=DOCKER_EMAIL
```

If you already have a Docker credentials file then, rather than using the above

0 comments on commit 1aae328

Please sign in to comment.
You can’t perform that action at this time.