Skip to content

Commit ef9c764

Browse files
authored
Merge pull request #974 from oracle/mark-fix-faq
fix capitalization of 'Docker' in example commands
2 parents a300d1f + edefaa8 commit ef9c764

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

docs-source/content/faq/cannot-pull-image.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -57,28 +57,28 @@ store and start the container.
5757
#### Images that require authentication
5858

5959
If the remote Docker registry requires authentication, then you will need to provide
60-
the authentication details in a Kubernetes `Docker-registry` secret and tell Kubernetes
60+
the authentication details in a Kubernetes `docker-registry` secret and tell Kubernetes
6161
to use that secret when pulling the image.
6262

6363
To create a secret, you can use the following command:
6464

6565
```
66-
kubectl create secret Docker-registry secret1 \
67-
--Docker-server=some.registry.com \
68-
--Docker-username=bob \
69-
--Docker-password=bigSecret \
70-
66+
kubectl create secret docker-registry secret1 \
67+
--docker-server=some.registry.com \
68+
--docker-username=bob \
69+
--docker-password=bigSecret \
70+
7171
--namespace=default
7272
```
7373

74-
In this command, you would replace `secret1` with the name of the secret; the `Docker-server`
75-
is set to the registry name, without the `https://` prefix; the `Docker-username`, `Docker-password`
76-
and `Docker-email` are set to match the credentials you use to authenticate to the remote
74+
In this command, you would replace `secret1` with the name of the secret; the `docker-server`
75+
is set to the registry name, without the `https://` prefix; the `docker-username`, `docker-password`
76+
and `docker-email` are set to match the credentials you use to authenticate to the remote
7777
Docker registry; and the `namespace` must be set to the same namespace where you intend to
7878
use the image.
7979

8080
{{% notice note %}}
81-
Some registries may need a suffix making the `Docker-server` something like `some.registry.com/v2`
81+
Some registries may need a suffix making the `docker-server` something like `some.registry.com/v2`
8282
for example. You will need to check with your registry provider's documentation to see if this is needed.
8383
{{% /notice %}}
8484

@@ -136,14 +136,14 @@ cluster instead.
136136
On the machine where you created the image, export it into a tar file using this command:
137137

138138
```
139-
Docker save domain1:1.0 > domain1.tar
139+
docker save domain1:1.0 > domain1.tar
140140
```
141141

142142
Then copy that tar file to each worker node in your Kubernetes cluster and run this command
143143
on each node:
144144

145145
```
146-
Docker load < domain1.tar
146+
docker load < domain1.tar
147147
```
148148

149149
#### Restart pods to clear the error

0 commit comments

Comments
 (0)