Sendmail is not the default mail transfer agent and is
not installed by default.
The sendmail package should not be present in the container or container image.
Remove the sendmail package from Containerfile and rebuild the container image.
The sendmail software was not developed with security in mind and its design prevents it from being effectively contained by SELinux. Postfix should be used instead.