docker service ls --format 'table {{.Name}}\t{{.Replicas}}'
List services as a custom table
Enumerates swarm services with name and replica counts; --format trims the columns via Go templates. The Replicas column shows ready versus desired counts. Filter with --filter name=web.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.