spiegel_podman/pkg/specgen/generate
Matthew Heon bf6b228092 Do not use "true" after "syslog" in exit commands
Instead of being interpreted as an argument to the boolean flag,
the 'true' is being intepreted as the Podman command to be run -
so we're trying to run `podman true`, which does not exist. This
causes the cleanup command to fail when `--log-level=debug` is
set, so containers are not cleaned up or removed.

This problem is easily reproduced with any command combining the
`--rm`, `-d`, and `--log-level=debug` flags - the command will
execute and exit, but the container will not be removed.

Separate, but worth looking into later: the errors we get on
trying `podman true` with any flags are terrible - if you just
type `podman true` you get a quite sane "Unrecognized command"
error, but if you try `podman true --rm` you get an "unknown flag
--rm" error - which makes very little sense given the command
itself doesn't exist.

Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-12-01 15:12:50 -05:00
..
kube Add support for persistent volume claims in kube files 2020-11-27 11:38:33 +01:00
config_linux.go specgen: add support for ambient capabilities 2020-11-02 14:36:39 +01:00
config_linux_cgo.go Remove excessive error wrapping 2020-10-05 15:30:37 -07:00
config_linux_nocgo.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
container.go Ensure that --net=host/pod/container/none warn with -p 2020-11-04 13:42:58 -05:00
container_create.go Do not use "true" after "syslog" in exit commands 2020-12-01 15:12:50 -05:00
namespaces.go Merge pull request #8177 from rhatdan/wrap 2020-10-30 19:52:17 +01:00
oci.go refactor api compatibility container creation to specgen 2020-10-20 12:06:59 -05:00
pod_create.go Add support for slirp network for pods 2020-09-25 21:34:23 -04:00
ports.go Fix host to container port mapping for simple ranges 2020-10-19 11:19:12 +02:00
security.go specgen: keep capabilities with --userns=keep-id 2020-11-02 15:46:56 +01:00
storage.go Document containers.conf settings for remote connections 2020-11-19 14:48:10 -05:00
validate.go Merge pull request #8197 from giuseppe/check-cgroupv2-swap-enabled 2020-10-31 11:40:07 +01:00