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