Docker Stack commands

List the Docker Stacks

docker stack ls
NAME                SERVICES            ORCHESTRATOR
syslog-ng_splunk 3 Swarm

List all Docker services

docker service ls

List the services of a stack

docker stack ps MY_STACK_NAME

List the services of a stack with the full error message, do not truncate the output

docker stack ps MY_STACK_NAME --no-trunc

Leave a comment

Your email address will not be published. Required fields are marked *