Supervisor - list docker container details

In case anyone finds this via search, you can list the containers in a nice format from the command line using ps

sudo docker ps --format "table {{.ID}}\t{{.Names}}"

[edit]

Even better from the helpful folk at StackExchange

echo ] | (sudo docker ps --format "{ {{json .ID}} : {{json .Names}} }" | paste -sd',' && cat) | (echo [ && cat)

if you want all the info available

echo ] | (sudo docker ps --format "{{json .}}" | paste -sd',' && cat) | (echo [ && cat)
1 Like