mirror of https://github.com/docker/docs.git
Fix Jekyll warnings
This commit is contained in:
parent
0a646eeae0
commit
15067fbc17
|
@ -66,8 +66,10 @@ you can backup the images by using ssh to log into a node where DTR is running,
|
|||
and creating a tar archive of the [dtr-registry volume](../architecture.md):
|
||||
|
||||
```none
|
||||
{% raw %}
|
||||
sudo tar -cf {{ image_backup_file }} \
|
||||
$(dirname $(docker volume inspect --format '{{.Mountpoint}}' dtr-registry-<replica-id>))
|
||||
{% endraw %}
|
||||
```
|
||||
|
||||
If you're using a different storage backend, follow the best practices
|
||||
|
|
|
@ -52,12 +52,14 @@ To check how much space your images are taking in the local filesystem, you
|
|||
can ssh into the node where DTR is deployed and run:
|
||||
|
||||
```
|
||||
{% raw %}
|
||||
# Find the path to the volume
|
||||
docker volume inspect dtr-registry-<replica-id>
|
||||
|
||||
# Check the disk usage
|
||||
sudo du -hs \
|
||||
$(dirname $(docker volume inspect --format '{{.Mountpoint}}' dtr-registry-<dtr-replica>))
|
||||
{% endraw %}
|
||||
```
|
||||
|
||||
## NFS
|
||||
|
|
Loading…
Reference in New Issue