mirror of
https://github.com/inspec/inspec
synced 2024-11-23 21:23:29 +00:00
d4790f7f5a
* Ignore linked container names when parsing docker containers If a container is linked to another container, the normal `docker ps` output does not include this information. However, when pulling the `.Names` field with `docker ps --format`, the linked container is listed in the name. This is confusing for users trying to use InSpec to audit a container. This change strips any linked container names from the actual container name. Signed-off-by: Adam Leff <adam@leff.co> * Linked container names aren't guaranteed to be last depending on how they were linked Signed-off-by: Adam Leff <adam@leff.co> |
||
---|---|---|
.. | ||
bundles | ||
fetchers | ||
inspec | ||
matchers | ||
resources | ||
source_readers | ||
utils | ||
inspec.rb |