Add flag to ucp 2.0 restore instructions

This commit is contained in:
Joao Fernandes 2017-01-05 14:00:42 -08:00
parent 5a70ee3591
commit b687e93be7
1 changed files with 1 additions and 10 deletions

View File

@ -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