Skip to content

Commit 3c33198

Browse files
author
Jim Galasyn
authored
Move task states topic to Engine (docker#4961)
1 parent fabfd6d commit 3c33198

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

_data/toc.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,8 @@ guides:
396396
title: How services work
397397
- path: /engine/swarm/how-swarm-mode-works/pki/
398398
title: Manage swarm security with PKI
399+
- path: /engine/swarm/how-swarm-mode-works/swarm-task-states/
400+
title: Swarm task states
399401
- path: /engine/swarm/swarm-mode/
400402
title: Run Docker in swarm mode
401403
- path: /engine/swarm/join-nodes/
@@ -1468,8 +1470,6 @@ manuals:
14681470
title: Troubleshoot with logs
14691471
- path: /datacenter/ucp/2.2/guides/admin/monitor-and-troubleshoot/troubleshoot-configurations/
14701472
title: Troubleshoot configurations
1471-
- path: /datacenter/ucp/2.2/guides/admin/monitor-and-troubleshoot/troubleshoot-task-state/
1472-
title: Troubleshoot swarm task states
14731473
- path: /datacenter/ucp/2.2/guides/admin/backups-and-disaster-recovery/
14741474
title: Backups and disaster recovery
14751475
- sectiontitle: CLI reference
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
---
2-
title: Troubleshoot swarm task states
3-
description: Learn how to troubleshoot tasks that are scheduled on your swarm.
4-
keywords: ucp, troubleshoot, swarm, task, service
2+
title: Swarm task states
3+
description: Learn about tasks that are scheduled on your swarm.
4+
keywords: swarm, task, service
5+
redirect_from:
6+
- /datacenter/ucp/guides/admin/monitor-and-troubleshoot/troubleshoot-task-state/
57
---
68

7-
Docker Universal Control Plane lets you create services, which can start tasks.
9+
Docker lets you create services, which can start tasks.
810
A service is a description of a desired state, and a task does the work.
911
Work is scheduled on swarm nodes in this sequence:
1012

11-
1. Create a service by using the UCP web UI or CLI.
13+
1. Create a service by using `docker service create` or the UCP web UI or CLI.
1214
2. The request goes to a Docker manager node.
1315
2. The Docker manager node schedules the service to run on particular nodes.
1416
3. Each service can start multiple tasks.

0 commit comments

Comments
 (0)