mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-05 10:19:50 +00:00
Fix docs typo
This commit is contained in:
parent
5124a158a5
commit
52cff02edb
@ -99,7 +99,7 @@ example, run these on your desktop/laptop:
|
|||||||
1. view `$HOME/.dockercfg` in an editor to ensure it contains just the credentials you want to use.
|
1. view `$HOME/.dockercfg` in an editor to ensure it contains just the credentials you want to use.
|
||||||
1. get a list of your nodes
|
1. get a list of your nodes
|
||||||
- for example: `nodes=$(kubectl get nodes -o template --template='{{range.items}}{{.metadata.name}} {{end}}')`
|
- for example: `nodes=$(kubectl get nodes -o template --template='{{range.items}}{{.metadata.name}} {{end}}')`
|
||||||
1. copy your local `.dockercfg` to the home directory of roon on each node.
|
1. copy your local `.dockercfg` to the home directory of root on each node.
|
||||||
- for example: `for n in $nodes; do scp ~/.dockercfg root@$n:/root/.dockercfg; done`
|
- for example: `for n in $nodes; do scp ~/.dockercfg root@$n:/root/.dockercfg; done`
|
||||||
|
|
||||||
Verify by creating a pod that uses a private image, e.g.:
|
Verify by creating a pod that uses a private image, e.g.:
|
||||||
|
Loading…
Reference in New Issue
Block a user