The .container units get the job done, but if you want to manage a stack of containers and are familiar with Kubernetes, or just like YAML, I recommend using the .kube units instead.[1]
[1]: https://docs.podman.io/en/stable/markdown/podman-kube.unit.5...