podman/pkg/api/handlers
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
..
compat Fix handling of container remove 2021-01-20 07:37:13 -05:00
libpod podman network exists 2021-01-19 15:18:03 +01:00
swagger Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
utils Reduce general binding binary size 2021-01-13 09:35:24 -06:00
decoder.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
types.go More docker compat API fixes 2020-12-04 15:58:46 +01:00