podman play kube
does not not pass CMD
(from image) to ENTRYPOINT
#8902
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
Starting a pod using
podman kube play
does not pass theCMD
option from the image config toENTRYPOINT
.Conversely, starting the same image using
podman run
does pass the CMD option from the image (as expected).This issue did not occur on the previous version of Podman I used:
2.0.5
.Steps to reproduce the issue:
kube.yml
.Start:
podman play kube kube.yml
.Run
podman run -d docker.io/library/mongo:4
.Describe the results you received:
I would expect the
COMMAND
(displayed usingpodman ps --all --no-trunc
) to be the same for both containers.Describe the results you expected:
Output of
podman ps --all --no-trunc
:A different
COMMAND
is being run for both.Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide?
Yes (latest version from the Kubic project)
Additional environment details (AWS, VirtualBox, physical, etc.):
Tested on a work computer (which uses rootless Podman) and also tested inside a privileged Docker container I setup (which is the above example).
The text was updated successfully, but these errors were encountered: