spiegel_podman/cmd/podman/containers
Daniel J Walsh e7df73efad
Fix handling of container remove
I found several problems with container remove

podman-remote rm --all
Was not handled

podman-remote rm --ignore
Was not handled

Return better errors when attempting to remove an --external container.
Currently we return the container does not exists, as opposed to container
is an external container that is being used.

This patch also consolidates the tunnel code to use the same code for
removing the container, as the local API, removing duplication of code
and potential problems.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-01-20 07:37:13 -05:00
..
attach.go Add shell completion with cobra 2020-11-12 11:38:31 +01:00
checkpoint.go add pre checkpoint 2021-01-10 21:38:28 +08:00
cleanup.go Add shell completion with cobra 2020-11-12 11:38:31 +01:00
commit.go Add system test for shell completion 2020-12-09 19:13:28 +01:00
container.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
cp.go Spelling 2020-12-22 13:34:31 -05:00
create.go Spelling 2020-12-22 13:34:31 -05:00
diff.go Add shell completion with cobra 2020-11-12 11:38:31 +01:00
exec.go Add system test for shell completion 2020-12-09 19:13:28 +01:00
exists.go Add shell completion with cobra 2020-11-12 11:38:31 +01:00
export.go Add shell completion with cobra 2020-11-12 11:38:31 +01:00
init.go Add shell completion with cobra 2020-11-12 11:38:31 +01:00
inspect.go Add shell completion with cobra 2020-11-12 11:38:31 +01:00
kill.go add --cidfile to container kill 2020-12-23 12:01:46 -06:00
list.go Add shell completion with cobra 2020-11-12 11:38:31 +01:00
logs.go podman logs honor stderr correctly 2020-12-10 22:24:43 +01:00
mount.go Spelling 2020-12-22 13:34:31 -05:00
pause.go Add shell completion with cobra 2020-11-12 11:38:31 +01:00
port.go Rename AutocompletePortCommand func 2021-01-16 18:54:59 +01:00
prune.go Fix problems reported by staticcheck 2021-01-12 16:11:09 +01:00
ps.go Add Networks format placeholder to podman ps and pod ps 2021-01-09 19:15:43 +01:00
rename.go Rename AutocompletePortCommand func 2021-01-16 18:54:59 +01:00
restart.go Add shell completion with cobra 2020-11-12 11:38:31 +01:00
restore.go add pre checkpoint 2021-01-10 21:38:28 +08:00
rm.go Fix handling of container remove 2021-01-20 07:37:13 -05:00
run.go podman: drop checking valid rootless UID 2020-12-11 15:43:33 +01:00
runlabel.go Add system test for shell completion 2020-12-09 19:13:28 +01:00
start.go Improve the shell completion api 2020-11-16 16:14:42 +01:00
stats.go Add 'MemUsageBytes' format option 2021-01-12 23:38:08 +00:00
stop.go Add shell completion with cobra 2020-11-12 11:38:31 +01:00
top.go Implement shell completion for podman top 2020-11-23 23:45:33 +01:00
unmount.go Add shell completion with cobra 2020-11-12 11:38:31 +01:00
unpause.go Add shell completion with cobra 2020-11-12 11:38:31 +01:00
utils.go Podman V2 birth 2020-04-16 15:53:58 -05:00
wait.go Add shell completion with cobra 2020-11-12 11:38:31 +01:00