Skip to content

Commit dd7a802

Browse files
adamanciniMisty Stanley-Jones
authored andcommitted
Clarify the DRAIN state w/ regard to containers (docker#5811)
* Clarify the DRAIN state w/ regard to containers Bare containers are not state-reconciled, and are not affected by the swarm DRAIN state
1 parent b68eee9 commit dd7a802

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

engine/swarm/swarm-tutorial/drain-node.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ availability. `DRAIN` availability prevents a node from receiving new tasks
1414
from the swarm manager. It also means the manager stops tasks running on the
1515
node and launches replica tasks on a node with `ACTIVE` availability.
1616

17+
> **Important**: Setting a node to `DRAIN` does not remove standalone containers from that node,
18+
> such as those created with `docker run`, `docker-compose up`, or the Docker Engine
19+
> API. A node's status, including `DRAIN`, only affects the node's ability to schedule
20+
> swarm service workloads.
21+
{:.important}
22+
1723
1. If you haven't already, open a terminal and ssh into the machine where you
1824
run your manager node. For example, the tutorial uses a machine named
1925
`manager1`.

0 commit comments

Comments
 (0)