This example runs Sendmail in a container.
See Docker installation: Docker
docker run --rm -it sendmail:latest --help