Browse code

Update reference document for secret and stack

Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
(cherry picked from commit 7bb31f3168aa022a20c37b0b1cb1942fd553717f)
Signed-off-by: Victor Vieux <vieux@docker.com>

yuexiao-wang authored on 2016/12/31 01:09:49
Showing 3 changed files
... ...
@@ -143,3 +143,22 @@ read the [`dockerd`](dockerd.md) reference page.
143 143
 | [service scale](service_scale.md) | Set the number of replicas for the desired state of the service |
144 144
 | [service ps](service_ps.md) | List the tasks of a service              |
145 145
 | [service update](service_update.md)  | Update the attributes of a service    |
146
+
147
+### Swarm secret commands
148
+
149
+| Command | Description                                                        |
150
+|:--------|:-------------------------------------------------------------------|
151
+| [secret create](secret_create.md) | Create a secret from a file or STDIN as content |
152
+| [secret inspect](service_inspect.md) | Inspect the specified secret          |
153
+| [secret ls](secret_ls.md) | List secrets in the swarm                        |
154
+| [secret rm](secret_rm.md) | Remove the specified secrets from the swarm      |
155
+
156
+### Swarm stack commands
157
+
158
+| Command | Description                                                        |
159
+|:--------|:-------------------------------------------------------------------|
160
+| [stack deploy](stack_deploy.md) | Deploy a new stack or update an existing stack |
161
+| [stack ls](stack_ls.md) | List stacks in the swarm                           |
162
+| [stack ps](stack_ps.md) | List the tasks in the stack                        |
163
+| [stack rm](stack_rm.md) | Remove the stack from the swarm                    |
164
+| [stack services](stack_services.md) | List the services in the stack         |
146 165
\ No newline at end of file
... ...
@@ -96,4 +96,3 @@ axqh55ipl40h  vossibility_vossibility-collector  replicated  1/1       icecrime/
96 96
 * [stack ps](stack_ps.md)
97 97
 * [stack rm](stack_rm.md)
98 98
 * [stack services](stack_services.md)
99
-* [deploy](deploy.md)
... ...
@@ -46,6 +46,6 @@ The currently supported filters are:
46 46
 ## Related information
47 47
 
48 48
 * [stack deploy](stack_deploy.md)
49
-* [stack rm](stack_ls.md)
49
+* [stack ls](stack_ls.md)
50 50
 * [stack rm](stack_rm.md)
51 51
 * [stack services](stack_services.md)