@@ -21,7 +21,7 @@ which registers itself by placing a file on the daemon host in one of the plugin
2121directories described in [ Plugin discovery] ( #plugin-discovery ) .
2222
2323Plugins have human-readable names, which are short, lowercase strings. For
24- example, ` flocker ` or ` weave ` .
24+ example, ` myplugin ` .
2525
2626Plugins can run inside or outside containers. Currently running them outside
2727containers is recommended.
@@ -45,12 +45,12 @@ spec files can be located either under `/etc/docker/plugins` or `/usr/lib/docker
4545
4646The name of the file (excluding the extension) determines the plugin name.
4747
48- For example, the ` flocker ` plugin might create a Unix socket at
49- ` /run/docker/plugins/flocker .sock ` .
48+ For example, a plugin named ` myplugin ` might create a Unix socket at
49+ ` /run/docker/plugins/myplugin .sock ` .
5050
5151You can define each plugin into a separated subdirectory if you want to isolate definitions from each other.
52- For example, you can create the ` flocker ` socket under ` /run/docker/plugins/flocker/flocker .sock ` and only
53- mount ` /run/docker/plugins/flocker ` inside the ` flocker ` container.
52+ For example, you can create the ` myplugin ` socket under ` /run/docker/plugins/myplugin/myplugin .sock ` and only
53+ mount ` /run/docker/plugins/myplugin ` inside the ` myplugin ` container.
5454
5555Docker always searches for Unix sockets in ` /run/docker/plugins ` first. It checks for spec or json files under
5656` /etc/docker/plugins ` and ` /usr/lib/docker/plugins ` if the socket doesn't exist. The directory scan stops as
0 commit comments