Jump to content

Docker service ps

From Squishu Wiki
Revision as of 15:27, 29 December 2025 by Princesssquishuskush (talk | contribs) (Created page with "== General == * show a list of service replicas ** docker service ps service_name or service_id ** output shows *** one line for each replica/container *** the node in the swarm it's running on and whether it's a manager or worker *** desired state, which should be running *** current / observed state, which should be running")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

General

  • show a list of service replicas
    • docker service ps service_name or service_id
    • output shows
      • one line for each replica/container
      • the node in the swarm it's running on and whether it's a manager or worker
      • desired state, which should be running
      • current / observed state, which should be running