Smoke Testing Containers

I want to run smoke tests on containers.

So far I can think of doing this by calling cli commands such as

podman inspect {{ container_name}} --format={{ '{{.State.Running}}' }}


podman inspect {{ container_name }} --format={{ '{{.HostConfig.Privileged}}' }}

I am using an Ansible Role to automate this. Anyone out there who has done something similar and can give any recommendations/resources?

Source: StackOverflow