Add --rm to busybox container

Since it is meant to be just a temporary container. Also, put `$PWD` into double quotes to prevent the expansion of multiple parameters if it has space.
This commit is contained in:
Felipe Santos
2020-11-16 16:36:15 -03:00
committed by Billy Tat
parent b1228e8330
commit 3a0fd48183
@@ -80,7 +80,7 @@ During upgrade, you create a copy of the data from your current Rancher containe
```
docker run --volumes-from rancher-data -v $PWD:/backup busybox tar zcvf /backup/rancher-data-backup-<RANCHER_VERSION>-<DATE>.tar.gz /var/lib/rancher
docker run --volumes-from rancher-data -v "$PWD:/backup" --rm busybox tar zcvf /backup/rancher-data-backup-<RANCHER_VERSION>-<DATE>.tar.gz /var/lib/rancher
```
**Step Result:** When you enter this command, a series of commands should run.