Browse code

Fix code block fences and typo.

Signed-off-by: Ding Fei <dingfei@stars.org.cn>

Ding Fei authored on 2016/10/18 19:01:46
Showing 2 changed files
... ...
@@ -36,7 +36,7 @@ Hub or on a private registry.
36 36
 
37 37
 You install the plugin using a single command: `docker plugin install <PLUGIN>`.
38 38
 The `plugin install` command pulls the plugin from the Docker Hub or private
39
-registry. If necessary the CLI prompts you to accept any privilige requriements.
39
+registry. If necessary the CLI prompts you to accept any privilege requriements.
40 40
 For example the plugin may require access to a device on the host system.
41 41
 Finally it enables the plugin.
42 42
 
... ...
@@ -63,7 +63,7 @@ to create a volume.
63 63
     The plugin requests 2 privileges, the `CAP_SYS_ADMIN` capability to be able
64 64
     to do mount inside the plugin and `host networking`.
65 65
 
66
-2. Check for a value of `true` the `ENABLED` column to verify the plugin
66
+2.  Check for a value of `true` the `ENABLED` column to verify the plugin
67 67
 started without error.
68 68
 
69 69
     ```bash
... ...
@@ -73,7 +73,7 @@ started without error.
73 73
     vieux/sshfs         latest              true
74 74
     ```
75 75
 
76
-3. Create a volume using the plugin.
76
+3.  Create a volume using the plugin.
77 77
 
78 78
     ```bash
79 79
     $ docker volume create \
... ...
@@ -92,7 +92,7 @@ started without error.
92 92
     <content of /remote on machine 1.2.3.4>
93 93
     ```
94 94
 
95
-5. Verify the plugin successfully created the volume.
95
+5.  Verify the plugin successfully created the volume.
96 96
 
97 97
     ```bash
98 98
     $ docker volume ls
... ...
@@ -121,6 +121,7 @@ ExecStart=/usr/lib/docker/your-plugin
121 121
 WantedBy=multi-user.target
122 122
 ```
123 123
 The `socket` file (for example `/lib/systemd/system/your-plugin.socket`):
124
+
124 125
 ```
125 126
 [Unit]
126 127
 Description=Your plugin