spiegel_podman/pkg/domain/entities
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
..
reports Rework pruning to report reclaimed space 2020-12-30 19:57:35 -06:00
auto-update.go auto-update: support authfiles 2020-05-12 10:20:48 +02:00
container_ps.go Add Networks format placeholder to podman ps and pod ps 2021-01-09 19:15:43 +01:00
containers.go Fix handling of container remove 2021-01-20 07:37:13 -05:00
engine.go Add global options --runtime-flags 2020-09-04 15:04:36 -04:00
engine_container.go podman network exists 2021-01-19 15:18:03 +01:00
engine_image.go Allow podman push to push manifest lists 2021-01-15 13:24:34 -05:00
engine_system.go Adds tunnel routes for system reset. 2020-05-11 17:03:32 -04:00
events.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
filters.go Fix Id->ID where possible for lint 2020-06-10 05:49:41 -04:00
generate.go APIv2 add generate systemd endpoint 2020-09-02 22:06:19 +02:00
healthcheck.go podmanv2 enable healthcheck run 2020-03-29 18:48:29 -05:00
images.go Allow podman push to push manifest lists 2021-01-15 13:24:34 -05:00
manifest.go Allow podman push to push manifest lists 2021-01-15 13:24:34 -05:00
network.go Implement pod-network-reload 2020-12-07 19:26:23 +01:00
play.go Ensure that podman play kube actually reports errors 2021-01-11 09:30:35 -05:00
pods.go Add 'MemUsageBytes' format option 2021-01-12 23:38:08 +00:00
set.go Fix Id->ID where possible for lint 2020-06-10 05:49:41 -04:00
system.go Rework pruning to report reclaimed space 2020-12-30 19:57:35 -06:00
types.go Reduce general binding binary size 2021-01-13 09:35:24 -06:00
volumes.go Initial implementation of volume plugins 2021-01-14 15:35:33 -05:00