podman/pkg/api/handlers/compat
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
..
changes.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
containers.go Fix handling of container remove 2021-01-20 07:37:13 -05:00
containers_archive.go remote copy 2020-12-18 12:08:49 +01:00
containers_attach.go Fixes remote attach and exec to signal IdleTracker 2020-10-05 10:40:23 -07:00
containers_create.go Fix Wrong image tag is used when creating a container from an image with multiple tags 2020-12-11 20:02:41 +08:00
containers_export.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
containers_logs.go Add EOL to compat container logs 2020-10-21 16:21:28 +02:00
containers_pause.go Jira RUN-1106 Container handlers updates 2020-12-03 13:49:22 -07:00
containers_prune.go Restore compatible API for prune endpoints 2021-01-07 15:32:32 -07:00
containers_restart.go Jira RUN-1106 Container handlers updates 2020-12-03 13:49:22 -07:00
containers_start.go Jira RUN-1106 Container handlers updates 2020-12-03 13:49:22 -07:00
containers_stats.go Lowercase some errors 2020-10-05 15:56:44 -07:00
containers_stop.go Jira RUN-1106 Container handlers updates 2020-12-03 13:49:22 -07:00
containers_top.go Lowercase some errors 2020-10-05 15:56:44 -07:00
containers_unpause.go Jira RUN-1106 Container handlers updates 2020-12-03 13:49:22 -07:00
events.go Spelling 2020-12-22 13:34:31 -05:00
exec.go Fixes remote attach and exec to signal IdleTracker 2020-10-05 10:40:23 -07:00
images.go Restore compatible API for prune endpoints 2021-01-07 15:32:32 -07:00
images_build.go Honor the --layers flag 2020-12-09 08:31:36 -05:00
images_history.go Lowercase some errors 2020-10-05 15:56:44 -07:00
images_prune.go Restore compatible API for prune endpoints 2021-01-07 15:32:32 -07:00
images_push.go Jira RUN-1106 Image handlers updates 2020-12-03 16:11:17 -07:00
images_remove.go Lowercase some errors 2020-10-05 15:56:44 -07:00
images_save.go Refactor handler packages 2020-03-10 08:03:41 -07:00
images_search.go Docker compat API - /images/search returns wrong structure (#7857) 2020-12-17 12:50:44 +01:00
images_tag.go Lowercase some errors 2020-10-05 15:56:44 -07:00
info.go Spelling 2020-12-22 13:34:31 -05:00
networks.go Fix some network compat api problems 2020-12-11 14:16:05 +01:00
ping.go Jira RUN-1106 System handlers updates 2020-12-05 16:41:57 -07:00
resize.go Expose Height/Width fields to decoder 2020-12-30 19:27:48 -07:00
swagger.go APIv2 compatibility network connect|disconnect 2020-10-22 08:20:28 -05:00
system.go Jira RUN-1106 System handlers updates 2020-12-05 16:41:57 -07:00
types.go V2 verify JSON output is consistent and doesn't drift 2020-05-28 16:20:29 -07:00
unsupported.go Reduce general binding binary size 2021-01-13 09:35:24 -06:00
version.go Lowercase some errors 2020-10-05 15:56:44 -07:00
volumes.go Initial implementation of volume plugins 2021-01-14 15:35:33 -05:00