mirror of https://github.com/k3s-io/k3s
Merge pull request #11169 from vsimon/vsimon-patch-1
Fix scp of .dockercfg for-loop commandpull/6/head
commit
2b103c6df5
|
@ -78,7 +78,7 @@ example, run these on your desktop/laptop:
|
|||
1. get a list of your nodes
|
||||
- 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.
|
||||
- for example: `for n in $nodes; do scp ~/.dockercfg root@$n:/root/.dockercfg`
|
||||
- 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.:
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue