Unable to change CMD in podman commit if it has arguments #2951
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.
/kind bug
Description
Unable to set CMD in a created container before committing it into image if it contains multiple elements, like /usr/sbin/httpd -D FOREGROUND. I tried several variations, like using single and double quotes, omitting square brackets, etc, but to no avail.
Steps to reproduce the issue:
Describe the results you received:
Describe the results you expected:
podman inspect myhttpd
should return CMD in its output as a properly formatted JSON array with httpd binary and its arguments as separate elements:Also,
podman run -d --name httpd -p 8080:80 myhttpd
should start the container and output its ID.Additional information you deem important (e.g. issue happens only occasionally):
The issue is persistent.
Output of
podman version
:Output of
podman info --debug
:Additional environment details (AWS, VirtualBox, physical, etc.):
Running on CentOS 7.6.1810 managed by Vagrant.
The text was updated successfully, but these errors were encountered: