spiegel_podman/pkg/api
Jan Kaluza ee2370bc26
Handle "Entrypoint":[] in compat containers/create API.
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 3a981915f0)
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-06-04 11:39:49 +02:00
..
handlers Handle "Entrypoint":[] in compat containers/create API. 2025-06-04 11:39:49 +02:00
server Add inherit-labels option to Build API 2025-04-22 23:06:57 -04:00
types set !remote build tags where needed 2024-08-19 11:41:28 +02:00
Makefile swagger: exlude new docker network types 2024-07-12 14:19:37 +02:00
tags.yaml [CI:DOCS] Set all operation id to be compatibile 2021-04-05 19:54:30 -07:00