-
-
Save eugenestarchenko/28341eb69fe9707fa072c2e80c000507 to your computer and use it in GitHub Desktop.
ECS Agent what are your intensions with my tasks?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| yum install jq | |
| curl 127.0.0.1:51678/v1/tasks | jq '[.Tasks[] | {task: "\(.Family):\(.Version)",status: "\(.KnownStatus) -> \(.DesiredStatus)", dockerId: .Containers[0] | .DockerId}] | sort_by(.task,.dockerId)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment