spiegel_podman/cmd/podman/common
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
..
create.go Remove duplicated code 2020-08-04 09:48:43 -04:00
create_opts.go Specifying --ipc=host --pid=host is broken 2020-07-28 14:53:54 -04:00
createparse.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
default.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
netflags.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
ports.go V2 enable ps tests 2020-04-29 15:51:37 -07:00
specgen.go Do not use image CMD if user gave ENTRYPOINT 2020-08-10 10:18:43 -04:00
util.go Do not set host IP on ports when 0.0.0.0 requested 2020-08-03 14:32:16 -04:00
volumes.go podman: support --mount type=devpts 2020-08-03 23:05:10 +02:00