mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Fix code block fences and typo.
Signed-off-by: Ding Fei <dingfei@stars.org.cn>
This commit is contained in:
parent
9ccb1f159e
commit
08fe24c2d5
2 changed files with 5 additions and 4 deletions
|
@ -36,7 +36,7 @@ Hub or on a private registry.
|
||||||
|
|
||||||
You install the plugin using a single command: `docker plugin install <PLUGIN>`.
|
You install the plugin using a single command: `docker plugin install <PLUGIN>`.
|
||||||
The `plugin install` command pulls the plugin from the Docker Hub or private
|
The `plugin install` command pulls the plugin from the Docker Hub or private
|
||||||
registry. If necessary the CLI prompts you to accept any privilige requriements.
|
registry. If necessary the CLI prompts you to accept any privilege requriements.
|
||||||
For example the plugin may require access to a device on the host system.
|
For example the plugin may require access to a device on the host system.
|
||||||
Finally it enables the plugin.
|
Finally it enables the plugin.
|
||||||
|
|
||||||
|
|
|
@ -121,6 +121,7 @@ ExecStart=/usr/lib/docker/your-plugin
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
```
|
```
|
||||||
The `socket` file (for example `/lib/systemd/system/your-plugin.socket`):
|
The `socket` file (for example `/lib/systemd/system/your-plugin.socket`):
|
||||||
|
|
||||||
```
|
```
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Your plugin
|
Description=Your plugin
|
||||||
|
|
Loading…
Reference in a new issue