spiegel_podman/pkg/specgen
Matthew Heon 39c493b3fc Do not use image CMD if user gave ENTRYPOINT
This matches Docker behavior, and seems to make sense - the CMD
may have been specific to the original entrypoint and probably
does not make sense if it was changed.

While we're in here, greatly simplify the logic for populating
the SpecGen's Command. We create the full command when making the
OCI spec, so the client should not be doing any more than setting
it to the Command the user passed in, and completely ignoring
ENTRYPOINT.

Fixes #7115

Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-08-10 10:18:43 -04:00
..
generate Do not use image CMD if user gave ENTRYPOINT 2020-08-10 10:18:43 -04:00
config_unsupported.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
container_validate.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
namespaces.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
pod_validate.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
podspecgen.go Fix container and pod create commands for remote create 2020-07-10 11:22:23 -04:00
specgen.go Add --umask flag for create, run 2020-07-21 14:22:30 -04:00