mirror of https://github.com/docker/cli.git
modify docker plugin sshfs entrypoint
Signed-off-by: Jimmy Song <rootsongjc@gmail.com>
This commit is contained in:
parent
33166e3364
commit
3e4d1cacf4
|
@ -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.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue