mirror of https://github.com/docker/docs.git
Fix some error description in the volumes manual (#22430)
## Description This Pull Request fixes a few error description in the "volumes" manual. ## Reviews <!-- Notes for reviewers here --> <!-- List applicable reviews (optionally @tag reviewers) --> - [ ] Technical review - [ ] Editorial review - [ ] Product review
This commit is contained in:
parent
6aa8403d80
commit
5a79330e6f
|
@ -494,7 +494,7 @@ $ docker run --rm \
|
||||||
alpine mkdir -p /logs/app1 /logs/app2
|
alpine mkdir -p /logs/app1 /logs/app2
|
||||||
$ docker run -d \
|
$ docker run -d \
|
||||||
--name=app1 \
|
--name=app1 \
|
||||||
--mount src=logs,dst=/var/log/app1/,volume-subpath=app1 \
|
--mount src=logs,dst=/var/log/app1,volume-subpath=app1 \
|
||||||
app1:latest
|
app1:latest
|
||||||
$ docker run -d \
|
$ docker run -d \
|
||||||
--name=app2 \
|
--name=app2 \
|
||||||
|
@ -552,7 +552,7 @@ volume.
|
||||||
The following example assumes that you have two nodes, the first of which is a Docker
|
The following example assumes that you have two nodes, the first of which is a Docker
|
||||||
host and can connect to the second node using SSH.
|
host and can connect to the second node using SSH.
|
||||||
|
|
||||||
On the Docker host, install the `vieux/sshfs` plugin:
|
On the Docker host, install the `rclone/docker-volume-rclone` plugin:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ docker plugin install --grant-all-permissions rclone/docker-volume-rclone --aliases rclone
|
$ docker plugin install --grant-all-permissions rclone/docker-volume-rclone --aliases rclone
|
||||||
|
|
Loading…
Reference in New Issue