automation-tests/cmd/podman
Giuseppe Scrivano f936b745b6 podman: new option --conmon-pidfile=
so that it is possible to use systemd to automatically restart the
container:

[Service]
Type=forking
PIDFile=/run/awesome-service.pid
ExecStart=/usr/bin/podman run --conmon-pidfile=/run/awesome-service.pid --name awesome -d IMAGE /usr/bin/do-something
ExecStopPost=/usr/bin/podman rm awesome
Restart=always

Closes: https://github.com/projectatomic/libpod/issues/534

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>

Closes: #549
Approved by: rhatdan
2018-03-29 01:34:41 +00:00
..
docker Rename all references to kpod to podman 2017-12-18 16:46:05 +00:00
formats Fix when the --format flag prints a new line at the end 2018-02-07 10:43:16 -05:00
README.md Rename all references to kpod to podman 2017-12-18 16:46:05 +00:00
attach.go Add signal proxying to podman run, start, and attach 2018-03-15 16:00:20 -04:00
build.go Add buildah bud options from common.go 2018-03-06 23:55:46 +00:00
commit.go Image library stage 4 - create and commit 2018-03-20 16:20:12 +00:00
common.go podman: new option --conmon-pidfile= 2018-03-29 01:34:41 +00:00
common_test.go Rename all references to kpod to podman 2017-12-18 16:46:05 +00:00
create.go podman: new option --conmon-pidfile= 2018-03-29 01:34:41 +00:00
create_cli.go Implement and test the following flags for podman run and create 2018-01-15 19:27:10 +00:00
create_cli_test.go Implement and test the following flags for podman run and create 2018-01-15 19:27:10 +00:00
diff.go Rename all references to kpod to podman 2017-12-18 16:46:05 +00:00
exec.go podman exec should handle options --env foo 2018-03-26 23:27:00 +00:00
export.go Rename all references to kpod to podman 2017-12-18 16:46:05 +00:00
history.go Image library stage 4 - create and commit 2018-03-20 16:20:12 +00:00
images.go Stage 4 Image cleanup 2018-03-23 15:35:37 +00:00
import.go Stage 4 Image cleanup 2018-03-23 15:35:37 +00:00
info.go Rename all references to kpod to podman 2017-12-18 16:46:05 +00:00
inspect.go Migrate podman inspect and tag to image library 2018-03-21 19:14:50 +00:00
kill.go Shortcut for most recent container 2018-01-08 19:12:17 +00:00
load.go Stage 4 Image cleanup 2018-03-23 15:35:37 +00:00
login.go Fix build after c/image changes 2018-03-16 14:35:07 +00:00
logout.go Rename all references to kpod to podman 2017-12-18 16:46:05 +00:00
logs.go Adjust podman logs error message for clarity 2018-03-02 19:58:15 +00:00
main.go Add 'podman restart' command 2018-03-16 13:55:49 +00:00
mount.go Remove ability to specify mount label when mounting 2018-03-16 13:35:23 +00:00
parse.go Remove dependency on kubernetes 2018-03-27 21:55:33 +00:00
pause.go Rename all references to kpod to podman 2017-12-18 16:46:05 +00:00
port.go podman port 2018-01-23 08:54:57 -06:00
ps.go Stage3 Image Library 2018-03-14 20:21:31 +00:00
pull.go Stage 4 Image cleanup 2018-03-23 15:35:37 +00:00
push.go Stage 4 Image cleanup 2018-03-23 15:35:37 +00:00
restart.go Address review comments 2018-03-16 13:55:49 +00:00
rm.go Fix output for created containers 2018-01-18 18:32:10 +00:00
rmi.go Stage 4 Image cleanup 2018-03-23 15:35:37 +00:00
run.go podman: new option --conmon-pidfile= 2018-03-29 01:34:41 +00:00
run_test.go Change json to match docker inspect 2018-02-11 11:50:34 +00:00
save.go Stage 4 Image cleanup 2018-03-23 15:35:37 +00:00
search.go Add podman search command 2018-02-06 18:09:31 +00:00
sigproxy.go Add signal proxying to podman run, start, and attach 2018-03-15 16:00:20 -04:00
spec.go Make container env variable conditional 2018-03-23 17:28:09 +00:00
spec_test.go Implement --image-volumes for create and run 2018-02-22 15:14:00 +00:00
start.go Add signal proxying to podman run, start, and attach 2018-03-15 16:00:20 -04:00
stats.go Fix tab issue with --format flag 2018-01-27 08:25:54 +00:00
stop.go Alias --time to --timeout for 'podman stop' 2018-02-21 13:32:59 +00:00
tag.go Migrate podman inspect and tag to image library 2018-03-21 19:14:50 +00:00
top.go Restrict top output to container's pids only 2018-02-26 23:41:47 +00:00
umount.go Rename all references to kpod to podman 2017-12-18 16:46:05 +00:00
unpause.go Rename all references to kpod to podman 2017-12-18 16:46:05 +00:00
user.go Rename all references to kpod to podman 2017-12-18 16:46:05 +00:00
utils.go Honor storage-driver flag 2018-01-29 08:18:05 -05:00
version.go Rename all references to kpod to podman 2017-12-18 16:46:05 +00:00
wait.go Add latest to wait 2018-01-08 22:44:38 +00:00

README.md

podman - Simple debugging tool for pods and images

podman is a simple client only tool to help with debugging issues when daemons such as CRI runtime and the kubelet are not responding or failing. A shared API layer could be created to share code between the daemon and podman. podman does not require any daemon running. podman utilizes the same underlying components that crio uses i.e. containers/image, container/storage, oci-runtime-tool/generate, runc or any other OCI compatible runtime. podman shares state with crio and so has the capability to debug pods/images created by crio.

Use cases

  1. List pods.
  2. Launch simple pods (that require no daemon support).
  3. Exec commands in a container in a pod.
  4. Launch additional containers in a pod.
  5. List images.
  6. Remove images not in use.
  7. Pull images.
  8. Check image size.
  9. Report pod disk resource usage.