mirror of
https://github.com/containers/podman.git
synced 2025-08-06 19:44:14 +08:00

In podman-systemd we are intersecting the worlds of containers and systemd, and I had to stop and think to understand what `Exec=` does. I tried to clarify things more here. I found it especially confusing because the example at the very top of the file does: ``` Image=quay.io/fedora/fedora Exec=sleep 10 ``` But that only makes sense because the fedora base image (being generic) doesn't define an `ENTRYPOINT`, just a `CMD`. But IMO by far the most common usage for podman-systemd is "app images" which conventionally should use `ENTRYPOINT` in general. Maybe we should change the default example, but I'm leaving that for a later followup. (It perhaps would have been less confusing if this field had been called `Args=` to make clear it's quite different in practice from systemd `ExecStart=`) Signed-off-by: Colin Walters <walters@verbum.org>