modify docker plugin sshfs entrypoint

Signed-off-by: Jimmy Song <rootsongjc@gmail.com>
This commit is contained in:
Jimmy Song 2017-03-07 17:06:27 +08:00 committed by Tibor Vass
parent 33166e3364
commit 3e4d1cacf4
1 changed files with 2 additions and 2 deletions

View File

@ -150,7 +150,7 @@ Consider the following `config.json` file.
{ {
"description": "sshFS plugin for Docker", "description": "sshFS plugin for Docker",
"documentation": "https://docs.docker.com/engine/extend/plugins/", "documentation": "https://docs.docker.com/engine/extend/plugins/",
"entrypoint": ["/go/bin/docker-volume-sshfs"], "entrypoint": ["/docker-volume-sshfs"],
"network": { "network": {
"type": "host" "type": "host"
}, },
@ -165,7 +165,7 @@ Consider the following `config.json` file.
``` ```
This plugin is a volume driver. It requires a `host` network and the This plugin is a volume driver. It requires a `host` network and the
`CAP_SYS_ADMIN` capability. It depends upon the `/go/bin/docker-volume-sshfs` `CAP_SYS_ADMIN` capability. It depends upon the `/docker-volume-sshfs`
entrypoint and uses the `/run/docker/plugins/sshfs.sock` socket to communicate entrypoint and uses the `/run/docker/plugins/sshfs.sock` socket to communicate
with Docker Engine. This plugin has no runtime parameters. with Docker Engine. This plugin has no runtime parameters.