docker-scripts/docker-service-ps

2 lines
196 B
Plaintext
Raw Permalink Normal View History

2023-02-08 19:46:00 +00:00
#!/bin/bash
docker node ps $(docker node ls -q) --filter 'desired-state=Running' --format "table {{ .ID }}\t{{ .Name }}\t{{ .Image }}\t{{ .Node }}\t{{ .DesiredState }}\t{{ .CurrentState }}" | uniq