spiegel_podman/cmd/podman/containers
Daniel J Walsh 22474095ab
Fix handling of remove of bogus volumes, networks and Pods
In podman containers rm and podman images rm, the commands
exit with error code 1 if the object does not exists.

This PR implements similar functionality to volumes, networks, and Pods.

Similarly if volumes or Networks are in use by other containers, and return
exit code 2.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-09-29 15:52:43 -04:00
..
attach.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
checkpoint.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
cleanup.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
commit.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
container.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
cp.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
create.go Properly handle podman run --pull command 2020-09-27 07:25:28 -04:00
diff.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
exec.go validate fds --preserve-fds 2020-08-04 15:09:17 -04:00
exists.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
export.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
init.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
inspect.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
kill.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
list.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
logs.go Usability: prevent "-l" with arguments 2020-09-14 15:49:28 -06:00
mount.go Usability: prevent "-l" with arguments 2020-09-14 15:49:28 -06:00
pause.go Remove SkipIfRootless if possible, document other calls 2020-09-27 07:55:16 -04:00
port.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
prune.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
ps.go Fix up errors found by codespell 2020-09-11 06:14:25 -04:00
restart.go Usability: prevent "-l" with arguments 2020-09-14 15:49:28 -06:00
restore.go Usability: prevent "-l" with arguments 2020-09-14 15:49:28 -06:00
rm.go Fix handling of remove of bogus volumes, networks and Pods 2020-09-29 15:52:43 -04:00
run.go Merge pull request #7624 from QiWang19/policy-option 2020-09-16 11:05:33 +02:00
runlabel.go podman container runlabel should pull the image if it does not exist 2020-09-10 10:03:06 -04:00
start.go Usability: prevent "-l" with arguments 2020-09-14 15:49:28 -06:00
stats.go stats: break out CLI options 2020-09-24 14:28:10 +02:00
stop.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
top.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
unmount.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
unpause.go Remove SkipIfRootless if possible, document other calls 2020-09-27 07:55:16 -04:00
utils.go Podman V2 birth 2020-04-16 15:53:58 -05:00
wait.go Fix CI breakage due to PR collision 2020-09-15 13:15:17 -06:00