spiegel_podman/cmd/podman/containers
danishprakash 1c88b12204
rm pod with podman run if ctr creation failed
Currently, if the container creation failed with
either run or create and you've used --pod with new:
the pod would be created nonetheless. This change ensures
the pod just created is also cleaned up in case
of container creation failure

Fixes #21228

Signed-off-by: danishprakash <danish.prakash@suse.com>
2024-01-17 18:59:32 +05:30
..
attach.go Allow '/' to prefix container names to match Docker 2022-12-26 07:37:43 -05:00
checkpoint.go Remove --latest from podman CMD --help output 2024-01-05 10:37:51 -05:00
cleanup.go Remove --latest from podman CMD --help output 2024-01-05 10:37:51 -05:00
clone.go implement podman update 2022-09-01 13:02:01 -04:00
commit.go Accept a config blob alongside the "changes" slice when committing 2023-11-30 09:00:52 -05:00
container.go bump go module to version 4 2022-01-18 12:47:07 +01:00
cp.go cp: close temporary file on error path 2023-08-07 12:39:25 +02:00
create.go rm pod with podman run if ctr creation failed 2024-01-17 18:59:32 +05:30
diff.go cmd/podman: switch to golang native error wrapping 2022-06-30 12:58:57 +02:00
exec.go cli: podman exec --env-file use StringArray() 2023-12-08 15:06:23 +01:00
exists.go Allow '/' to prefix container names to match Docker 2022-12-26 07:37:43 -05:00
export.go Run make codespell 2023-03-21 16:00:54 -04:00
init.go Remove --latest from podman CMD --help output 2024-01-05 10:37:51 -05:00
inspect.go shell completion: update podman inspect --type options 2022-05-19 14:04:22 +02:00
kill.go Allow '/' to prefix container names to match Docker 2022-12-26 07:37:43 -05:00
list.go bump go module to version 4 2022-01-18 12:47:07 +01:00
logs.go Allow '/' to prefix container names to match Docker 2022-12-26 07:37:43 -05:00
mount.go Allow '/' to prefix container names to match Docker 2022-12-26 07:37:43 -05:00
pause.go Replace strings.SplitN with strings.Cut 2024-01-11 13:50:15 +00:00
port.go Remove --latest from podman CMD --help output 2024-01-05 10:37:51 -05:00
prune.go Allow '/' to prefix container names to match Docker 2022-12-26 07:37:43 -05:00
ps.go Replace strings.SplitN with strings.Cut 2024-01-11 13:50:15 +00:00
rename.go Allow '/' to prefix container names to match Docker 2022-12-26 07:37:43 -05:00
restart.go Replace strings.SplitN with strings.Cut 2024-01-11 13:50:15 +00:00
restore.go Remove --latest from podman CMD --help output 2024-01-05 10:37:51 -05:00
rm.go Replace strings.SplitN with strings.Cut 2024-01-11 13:50:15 +00:00
run.go rm pod with podman run if ctr creation failed 2024-01-17 18:59:32 +05:30
runlabel.go Make sure users changes --authfile before checking 2023-07-27 12:06:25 -04:00
start.go Replace strings.SplitN with strings.Cut 2024-01-11 13:50:15 +00:00
stats.go Automatic code cleanups - JetBrains 2023-11-07 14:05:15 -06:00
stop.go Replace strings.SplitN with strings.Cut 2024-01-11 13:50:15 +00:00
top.go Remove --latest from podman CMD --help output 2024-01-05 10:37:51 -05:00
unmount.go man pages and command help: clean up descriptions 2023-05-28 18:57:43 +02:00
unpause.go Replace strings.SplitN with strings.Cut 2024-01-11 13:50:15 +00:00
update.go man pages and command help: clean up descriptions 2023-05-28 18:57:43 +02:00
wait.go container wait API: use string slice instead of state slice 2023-06-23 09:26:30 +02:00