infracloud/dev-scripts/fix_check_v2.sh
2026-03-04 05:58:41 -06:00

1 line
256 B
Bash

docker ps --format "{{.Names}}" | while read c; do labels=$(docker inspect $c --format "{{json .Config.Labels}}"); if echo "$labels" | grep -iq "gohorsejobs"; then echo "Container: $c"; echo "$labels" | grep -io "\"traefik.http.routers.[^\"]*\""; fi; done