docker node update --availability pause worker1

Category: Docker

docker node update --availability pause worker1

Pause task scheduling on a node

Sets worker1's availability to pause, so existing tasks keep running but no new tasks are scheduled there. drain stops tasks and moves them elsewhere; active restores scheduling. Useful before maintenance.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.