Fix scp of .dockcfg for-loop command

This commit is contained in:
Vicken Simonian 2015-07-13 11:45:13 -07:00
parent 36fa535c58
commit a740a85dfb

View File

@ -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.:
```