spiegel_podman/cmd/podman
Daniel J Walsh 5370d9cb76
Add new exit codes to rm & rmi for running containers & dependencies
This enables programs and scripts wrapping the podman command to handle
'podman rm' and 'podman rmi' failures caused by paused or running
containers or due to images having other child images or dependent
containers. These errors are common enough that it makes sense to have
a more machine readable way of detecting them than parsing the standard
error output.

Signed-off-by: Ondrej Zoder <ozoder@redhat.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2019-08-01 03:40:29 -04:00
..
cliconfig Implement conmon exec 2019-07-22 15:57:23 -04:00
imagefilters Add support for listing read/only and read/write images 2019-07-19 06:59:49 -04:00
libpodruntime configure runtime without store 2019-07-01 14:15:44 -05:00
remoteclientconfig golangci-lint round #3 2019-07-21 14:22:39 -05:00
shared Merge pull request #3665 from QiWang19/env 2019-07-30 21:20:34 +02:00
varlink add detach keys support for remote 2019-07-23 13:29:33 -04:00
attach.go first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
build.go fix build --network=container 2019-07-23 15:11:42 -04:00
checkpoint.go Add --ignore-rootfs option for checkpoint/restore 2019-07-11 14:43:35 +02:00
cleanup.go first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
commands.go Implement conmon exec 2019-07-22 15:57:23 -04:00
commands_remoteclient.go (minor): fix misspelled 'Healthcheck' 2019-04-10 09:43:56 -06:00
commit.go first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
common.go libpod: support for cgroup namespace 2019-07-18 10:32:25 +02:00
common_libpod.go libpod removal from main (phase 2) 2019-06-27 07:56:24 -05:00
common_test.go Revert "Switch to golangci-lint" 2019-04-05 20:09:45 -05:00
container.go Implement conmon exec 2019-07-22 15:57:23 -04:00
containers_prune.go first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
cp.go golangci-lint round #3 2019-07-21 14:22:39 -05:00
create.go fix --dns* and --network not set to host conflict 2019-07-18 09:39:31 -04:00
diff.go golangci-lint round #3 2019-07-21 14:22:39 -05:00
errors.go Add new exit codes to rm & rmi for running containers & dependencies 2019-08-01 03:40:29 -04:00
errors_remote.go Add new exit codes to rm & rmi for running containers & dependencies 2019-08-01 03:40:29 -04:00
events.go first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
exec.go move editing of exitCode to runtime 2019-07-23 13:29:33 -04:00
exists.go first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
export.go first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
generate.go Generate systemd unit files for containers 2019-05-02 14:35:53 -05:00
generate_kube.go first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
generate_systemd.go first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
healthcheck.go (minor): fix misspelled 'Healthcheck' 2019-04-10 09:43:56 -06:00
healthcheck_run.go Implement conmon exec 2019-07-22 15:57:23 -04:00
history.go golangci-lint round #3 2019-07-21 14:22:39 -05:00
image.go Merge pull request #1642 from kunalkushwaha/image-tree 2019-03-14 09:53:49 -07:00
images.go golangci-lint phase 4 2019-07-22 15:44:04 -05:00
images_prune.go first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
import.go fix import not ignoring url path 2019-07-24 11:41:48 -04:00
info.go golangci-lint round #3 2019-07-21 14:22:39 -05:00
init.go first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
inspect.go golangci-lint round #3 2019-07-21 14:22:39 -05:00
kill.go first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
load.go first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
login.go podman: create and run honors auth file location 2019-07-09 14:21:15 +02:00
logout.go podman: create and run honors auth file location 2019-07-09 14:21:15 +02:00
logs.go first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
main.go fix podman -v regression 2019-07-29 14:47:21 +02:00
main_local.go first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
main_remote.go Add remote client logging to a file 2019-06-17 08:01:39 -07:00
mount.go first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
pause.go first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
platform_linux.go rootless: skip check fo /etc/containers/registries.conf 2019-05-30 09:01:55 +02:00
platform_unsupported.go Add darwin support for remote-client 2019-01-11 11:30:28 -06:00
play.go More cleanup for failures on missing commands. 2019-03-08 07:06:50 -05:00
play_kube.go first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
pod.go Add podman pod prune 2019-04-16 11:23:18 -04:00
pod_create.go first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
pod_inspect.go first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
pod_kill.go first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
pod_pause.go golangci-lint round #3 2019-07-21 14:22:39 -05:00
pod_ps.go golangci-lint round #3 2019-07-21 14:22:39 -05:00
pod_restart.go golangci-lint round #3 2019-07-21 14:22:39 -05:00
pod_rm.go first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
pod_start.go first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
pod_stats.go golangci-lint round #3 2019-07-21 14:22:39 -05:00
pod_stop.go first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
pod_top.go first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
pod_unpause.go golangci-lint round #3 2019-07-21 14:22:39 -05:00
pods_prune.go first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
port.go first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
ps.go golangci-lint pass number 2 2019-07-11 09:13:06 -05:00
pull.go first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
push.go first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
README.md Update Podman-specific readme 2018-05-11 15:32:27 +00:00
refresh.go first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
restart.go first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
restore.go Add --ignore-rootfs option for checkpoint/restore 2019-07-11 14:43:35 +02:00
rm.go Add new exit codes to rm & rmi for running containers & dependencies 2019-08-01 03:40:29 -04:00
rmi.go Add new exit codes to rm & rmi for running containers & dependencies 2019-08-01 03:40:29 -04:00
run.go Make the healthcheck flags compatible with Docker CLI 2019-07-16 06:15:28 +02:00
runlabel.go first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
save.go first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
search.go golangci-lint round #3 2019-07-21 14:22:39 -05:00
sign.go first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
start.go first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
stats.go golangci-lint round #3 2019-07-21 14:22:39 -05:00
stop.go first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
system.go podman-remote prune containers 2019-04-26 10:15:09 -05:00
system_df.go golangci-lint round #3 2019-07-21 14:22:39 -05:00
system_migrate.go runtime: pass down the context 2019-04-26 22:23:49 +02:00
system_prune.go first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
system_renumber.go runtime: pass down the context 2019-04-26 22:23:49 +02:00
tag.go first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
top.go first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
tree.go golangci-lint pass number 2 2019-07-11 09:13:06 -05:00
trust.go More cleanup for failures on missing commands. 2019-03-08 07:06:50 -05:00
trust_set_show.go golangci-lint round #3 2019-07-21 14:22:39 -05:00
umount.go first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
unpause.go first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
unshare.go libpod removal from main (phase 2) 2019-06-27 07:56:24 -05:00
utils.go Make the healthcheck flags compatible with Docker CLI 2019-07-16 06:15:28 +02:00
varlink.go first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
varlink_dummy.go Only build varlink when buildtag is available 2019-02-12 15:53:19 -06:00
version.go golangci-lint round #3 2019-07-21 14:22:39 -05:00
volume.go More cleanup for failures on missing commands. 2019-03-08 07:06:50 -05:00
volume_create.go first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
volume_inspect.go first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
volume_ls.go golangci-lint round #3 2019-07-21 14:22:39 -05:00
volume_prune.go first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
volume_rm.go first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
wait.go first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00

podman - Simple debugging tool for pods and images

podman is a daemonless container runtime for managing containers, pods, and container images. It is intended as a counterpart to CRI-O, to provide low-level debugging not available through the CRI interface used by Kubernetes. It can also act as a container runtime independent of CRI-O, creating and managing its own set of containers.

Use cases

  1. Create containers
  2. Start, stop, signal, attach to, and inspect existing containers
  3. Run new commands in existing containers
  4. Push and pull images
  5. List and inspect existing images
  6. Create new images by committing changes within a container
  7. Create pods
  8. Start, stop, signal, and inspect existing pods
  9. Populate pods with containers