Browse code

doc review updates

Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>

Evan Hazlett authored on 2016/11/01 00:02:10
Showing 4 changed files
... ...
@@ -71,8 +71,8 @@ $ docker secret inspect mhv17xfe3gh6xc4rij5orpfds
71 71
 
72 72
 ### Formatting secret output
73 73
 
74
-The `--format` option can be used to obtain specific information about a
75
-secret. For example, the following command outputs the digest of the
74
+You can use the --format option to obtain specific information about a
75
+secret. The following example command outputs the digest of the
76 76
 secret.
77 77
 
78 78
 ```bash{% raw %}
... ...
@@ -27,8 +27,7 @@ Options:
27 27
   -q, --quiet          Only display IDs
28 28
 ```
29 29
 
30
-This command when run targeting a manager, lists secrets in the
31
-swarm.
30
+Run this command from a manager to list the secrets in the Swarm.
32 31
 
33 32
 On a manager node:
34 33
 
... ...
@@ -30,7 +30,7 @@ Options:
30 30
 Removes the specified secrets from the swarm. This command has to be run
31 31
 targeting a manager node.
32 32
 
33
-For example, to remove secret:
33
+This example removes a secret:
34 34
 
35 35
 ```bash
36 36
 $ docker secret rm sapth4csdo5b6wz2p5uimh5xg
... ...
@@ -121,8 +121,9 @@ ID            NAME   MODE        REPLICAS  IMAGE
121 121
 ```
122 122
 
123 123
 ### Create a service with secrets
124
-Use the `--secret` flag to use a [secret](secret_create.md).  The following
125
-command will create a service with two secrets named `ssh-key` and `app-key`:
124
+Use the `--secret` flag to give a container access to a
125
+[secret](secret_create.md).  The following command will create a service
126
+with two secrets named `ssh-key` and `app-key`:
126 127
 
127 128
 ```bash
128 129
 $ docker service create --name redis --secret ssh-key:ssh --secret app-key:app redis:3.0.6