spiegel_podman/cmd
Valentin Rothberg f4d0496b54 wait: add --ignore option
In the recent past, I met the frequent need to wait for a container to
exist that, at the same time, may get removed (e.g., system tests in [1]).

Add an `--ignore` option to podman-wait which will ignore errors when a
specified container is missing and mark its exit code as -1.  Also
remove ID fields from the WaitReport.  It is actually not used by
callers and removing it makes the code simpler and faster.

Once merged, we can go over the tests and simplify them.

[1] github.com/containers/podman/pull/16852

Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
2022-12-16 10:24:29 +01:00
..
podman wait: add --ignore option 2022-12-16 10:24:29 +01:00
podman-mac-helper Replace deprecated ioutil 2022-09-20 15:34:27 -04:00
podman-msihooks Add new windows installer and build 2022-09-06 16:12:09 -05:00
podman-wslkerninst Add new windows installer and build 2022-09-06 16:12:09 -05:00
quadlet bump golangci-lint to v1.50.1 2022-12-15 13:39:56 +01:00
rootlessport Replace deprecated ioutil 2022-09-20 15:34:27 -04:00
winpath Fix spelling "setup" -> "set up" and similar 2022-06-22 18:39:21 +02:00