mirror of
https://github.com/docker/docs.git
synced 2026-03-27 22:38:54 +07:00
Merge branch 'published' into master
This commit is contained in:
@@ -132,7 +132,6 @@ recommended for that system.
|
||||
To create a DTR backup, load your UCP client bundle, and run the following
|
||||
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'); \
|
||||
|
||||
@@ -25,6 +25,7 @@ docker run -i --rm --log-driver none docker/dtr:{{ page.dtr_version }} \
|
||||
|
||||
#### Advanced (with chained commands)
|
||||
{% raw %}
|
||||
|
||||
```bash
|
||||
DTR_VERSION=$(docker container inspect $(docker container ps -f \
|
||||
name=dtr-registry -q) | grep -m1 -Po '(?<=DTR_VERSION=)\d.\d.\d'); \
|
||||
|
||||
Reference in New Issue
Block a user