Jump to content

Docker service ps

From Squishu Wiki

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