'--restart on-failure' parameter seems to cause '--name' and --entrypoint' to be ignored?! #7878
Labels
Good First Issue
This issue would be a good issue for a first time contributor to undertake.
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
This one seems really odd, and I've just removed and re-added every argument to
podman
to confirm, but it seems that if--restart on-failure
(or--restart=on-failure
- I've not tried the other--restart
options) is specified then (at least)--name
and--entrypoint
(and any follow-on parameters) are ignored!e.g.
vs.
... noting that the only difference in the podman parameters is the presence or absence of
--restart on-failure
.As well as the default entrypoint being executed in the first instance (with
--restart on-failure
) rather than the specified override, also note that the first instance has been assigned the namefunny_carson
rather than the requested name.Output of
podman version
:Output of
podman info --debug
:Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide?
Yes
The text was updated successfully, but these errors were encountered: