Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adamancini/af6ee05ee86a1dbb3b71596112cab82d to your computer and use it in GitHub Desktop.
Save adamancini/af6ee05ee86a1dbb3b71596112cab82d to your computer and use it in GitHub Desktop.
for c in $(docker-compose ps -aq); do echo $c && docker inspect $c | jq '.[].State'; done
abd1952d26086816ede0b550546474cbe82f8b00ab7731a446bb284106e02a46
{
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 2350,
"ExitCode": 0,
"Error": "",
"StartedAt": "2022-07-29T15:20:38.783829868Z",
"FinishedAt": "0001-01-01T00:00:00Z"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment