mirror of https://github.com/docker/docs.git
Trying to fix command rendering of '--format "{{ .Names }}"' (#8677)
* Trying to fix command rendering of '--format "{{ .Names }}"'
--format "{{ .Names }}" is showing up in the markup but is rendering as --format "" in the published version. Added {% raw %} tags to try to fix.
* Update concatenated to chained
This commit is contained in:
parent
2177ea7bf1
commit
e5bec55d38
|
|
@ -130,8 +130,9 @@ recommended for that system.
|
|||
### Back up DTR metadata
|
||||
|
||||
To create a DTR backup, load your UCP client bundle, and run the following
|
||||
concatenated commands:
|
||||
chained commands:
|
||||
|
||||
{% raw %}
|
||||
```none
|
||||
DTR_VERSION=$(docker container inspect $(docker container ps -f name=dtr-registry -q) | \
|
||||
grep -m1 -Po '(?<=DTR_VERSION=)\d.\d.\d'); \
|
||||
|
|
@ -148,6 +149,7 @@ docker run --log-driver none -i --rm \
|
|||
--ucp-ca "$(curl https://${UCP_URL}/ca)" \
|
||||
--existing-replica-id $REPLICA_ID > dtr-metadata-${DTR_VERSION}-backup-$(date +%Y%m%d-%H_%M_%S).tar
|
||||
```
|
||||
{% endraw %}
|
||||
|
||||
#### UCP field prompts
|
||||
|
||||
|
|
@ -155,7 +157,7 @@ docker run --log-driver none -i --rm \
|
|||
* `<ucp-username>` is the username of a UCP administrator.
|
||||
* `<replica-id>` is the DTR replica ID to back up.
|
||||
|
||||
The above concatenated commands run through the following tasks:
|
||||
The above chained commands run through the following tasks:
|
||||
1. Sets your DTR version and replica ID. To back up
|
||||
a specific replica, set the replica ID manually by modifying the
|
||||
`--existing-replica-id` flag in the backup command.
|
||||
|
|
|
|||
Loading…
Reference in New Issue