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