Browse code

fix some typos

Signed-off-by: zhenghenghuo <zhenghenghuo@zju.edu.cn>

try to pass test

Signed-off-by: zhenghenghuo <zhenghenghuo@zju.edu.cn>

try to pass the test

Signed-off-by: zhenghenghuo <zhenghenghuo@zju.edu.cn>

zhenghenghuo authored on 2016/12/26 13:49:37
Showing 5 changed files
... ...
@@ -35,7 +35,7 @@ script
35 35
 end script
36 36
 ```
37 37
 
38
-Once that's done, you need to set up a SSH tunnel between your host machine and the vagrant machine that's running Docker. This can be done by running the following command in a host terminal:
38
+Once that's done, you need to set up an SSH tunnel between your host machine and the vagrant machine that's running Docker. This can be done by running the following command in a host terminal:
39 39
 
40 40
 ```
41 41
 ssh -L 2375:localhost:2375 -p 2222 vagrant@localhost
... ...
@@ -169,7 +169,7 @@ Docker needs reminding of the path to the volume on the host.
169 169
 
170 170
 Respond with the path on the host filesystem where the volume has been made
171 171
 available, and/or a string error if an error occurred. `Mountpoint` is optional,
172
-however the plugin may be queried again later if one is not provided.
172
+however, the plugin may be queried again later if one is not provided.
173 173
 
174 174
 ### /VolumeDriver.Unmount
175 175
 
... ...
@@ -257,7 +257,7 @@ Respond with a string error if an error occurred. `Mountpoint` is optional.
257 257
 ```
258 258
 
259 259
 Get the list of capabilities the driver supports.
260
-The driver is not required to implement this endpoint, however in such cases
260
+The driver is not required to implement this endpoint, however, in such cases
261 261
 the default values will be taken.
262 262
 
263 263
 **Response**:
... ...
@@ -237,7 +237,7 @@ drivers: `aufs`, `devicemapper`, `btrfs`, `zfs`, `overlay` and `overlay2`.
237 237
 
238 238
 The `aufs` driver is the oldest, but is based on a Linux kernel patch-set that
239 239
 is unlikely to be merged into the main kernel. These are also known to cause
240
-some serious kernel crashes. However, `aufs` allows containers to share
240
+some serious kernel crashes. However `aufs` allows containers to share
241 241
 executable and shared library memory, so is a useful choice when running
242 242
 thousands of containers with the same program or libraries.
243 243
 
... ...
@@ -658,7 +658,7 @@ options for `zfs` start with `zfs` and options for `btrfs` start with `btrfs`.
658 658
 
659 659
     Overrides the Linux kernel version check allowing overlay2. Support for
660 660
     specifying multiple lower directories needed by overlay2 was added to the
661
-    Linux kernel in 4.0.0. However some older kernel versions may be patched
661
+    Linux kernel in 4.0.0. However, some older kernel versions may be patched
662 662
     to add multiple lower directory support for OverlayFS. This option should
663 663
     only be used after verifying this support exists in the kernel. Applying
664 664
     this option on a kernel without this support will cause failures on mount.
... ...
@@ -166,7 +166,7 @@ $ ip route
166 166
 
167 167
 Example: Multi-Subnet Ipvlan L2 Mode starting two containers on the same subnet and pinging one another. In order for the `192.168.114.0/24` to reach `192.168.116.0/24` it requires an external router in L2 mode. L3 mode can route between subnets that share a common `-o parent=`. 
168 168
 
169
-Secondary addresses on network routers are common as an address space becomes exhausted to add another secondary to a L3 vlan interface or commonly referred to as a "switched virtual interface" (SVI).
169
+Secondary addresses on network routers are common as an address space becomes exhausted to add another secondary to an L3 vlan interface or commonly referred to as a "switched virtual interface" (SVI).
170 170
 
171 171
 ```
172 172
 docker network  create  -d ipvlan \
... ...
@@ -4,7 +4,7 @@ Locker
4 4
 locker provides a mechanism for creating finer-grained locking to help
5 5
 free up more global locks to handle other tasks.
6 6
 
7
-The implementation looks close to a sync.Mutex, however the user must provide a
7
+The implementation looks close to a sync.Mutex, however, the user must provide a
8 8
 reference to use to refer to the underlying lock when locking and unlocking,
9 9
 and unlock may generate an error.
10 10