I just discovered how to run inspect on all running docker containers.
Collecting them into a single JSON array
Runs docker inspect
once by using xargs
to populate the list of
arguments.
Collecting them into separate JSON arrays
This version runs docker inspect
for every container. This generates a
series of arrays with a single machine in it.