docker stack services
Advisory: The functionality described on this page is marked as Experimental, and as such, may change before it becomes generally available.
stack services (experimental)
Usage: docker stack services [OPTIONS] STACK List the services in the stack Options: -f, --filter value Filter output based on conditions provided --help Print usage -q, --quiet Only display IDs
Lists the services that are running as part of the specified stack. This command has to be run targeting a manager node.
For example, the following command shows all services in the myapp
stack:
$ docker stack services myapp ID NAME REPLICAS IMAGE COMMAND 7be5ei6sqeye myapp_web 1/1 nginx@sha256:23f809e7fd5952e7d5be065b4d3643fbbceccd349d537b62a123ef2