spiegel_podman/cmd/podman/common
Matthew Heon 32f0c8f624 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-20 12:16:53 -04:00
..
create.go Add noop function disable-content-trust 2020-07-22 13:42:56 -04:00
create_opts.go Specifying --ipc=host --pid=host is broken 2020-07-31 11:40:25 -04:00
createparse.go move go module to v2 2020-07-06 15:52:17 +02:00
default.go move go module to v2 2020-07-06 15:52:17 +02:00
netflags.go move go module to v2 2020-07-06 15:52:17 +02: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-20 12:16:53 -04:00
util.go Do not set host IP on ports when 0.0.0.0 requested 2020-08-11 12:15:24 +02:00
volumes.go move go module to v2 2020-07-06 15:52:17 +02:00