mirror of
https://github.com/containers/podman.git
synced 2025-08-23 09:18:19 +08:00

When using `docker compose run --entrypoint ''`, docker sends `"Entrypoint": []` in the JSON. Podman currently treats that as `nil` and fallback to default image entrypoint. This is not what is expected by the user. Instead, it should not use any entrypoint. This commit fixes it by properly propagating the `[]` downstream to libpod. Fixes: #26078 Signed-off-by: Jan Kaluza <jkaluza@redhat.com> (cherry picked from commit 3a981915f006b166df7d4207eb154c893af99dce) Signed-off-by: Paul Holzinger <pholzing@redhat.com>