mirror of https://github.com/docker/docs.git
Add flag to ucp 2.0 restore instructions
This commit is contained in:
parent
5a70ee3591
commit
b687e93be7
|
|
@ -56,16 +56,7 @@ backup:
|
||||||
```bash
|
```bash
|
||||||
$ docker run --rm -i --name ucp \
|
$ docker run --rm -i --name ucp \
|
||||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||||
docker/ucp restore < backup.tar
|
docker/ucp restore --passphrase "secret" < backup.tar
|
||||||
```
|
|
||||||
|
|
||||||
The restore command may also be invoked in interactive mode:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
$ docker run --rm -i --name ucp \
|
|
||||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
|
||||||
-v /path/to/backup.tar:/config/backup.tar \
|
|
||||||
docker/ucp restore -i
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Restore your cluster
|
## Restore your cluster
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue