nbulischeck/DCTF

Use -q options for docker or docker inspect

robertu94 opened this issue · 4 comments

The output of the docker command are not designed to be scriptable/machine readable. Using the -q option or docker inspect will be less likely to encounter weird errors.

+1 for docker inspect. Didn't know that was a thing. Looks really neat.

The only problem with -q comes with removing containers that aren't ctf related which I heavily want to avoid.

if you pair -q with --filter, you should be able to reliably filter by name or other features.

@robertu94 Does that commit suffice?

LGTM