automation-tests/cmd/podman
umohnani8 4f188aa191 podman rmi should only untag image if parent of another
podman rmi was deleting an image even if it was a parent of
another image. This fix just untags the image instead.
This also fixes podman rmi to remove intermediate images of
an image when the image is removed.

Signed-off-by: umohnani8 <umohnani@redhat.com>

Closes: #1055
Approved by: mheon
2018-07-12 18:56:33 +00:00
..
batchcontainer Added --sort to ps 2018-06-19 14:45:29 +00:00
docker Rename all references to kpod to podman 2017-12-18 16:46:05 +00:00
formats Unescape characters in inspect JSON format output 2018-04-10 14:05:25 +00:00
libpodruntime runtime: change rootless data storage default path 2018-06-27 14:07:17 +00:00
varlink varlink build fixes 2018-06-05 19:31:13 +00:00
README.md Update Podman-specific readme 2018-05-11 15:32:27 +00:00
attach.go Refactor podman/utils with a single container start and attach function 2018-07-06 16:02:46 +00:00
build.go podman-build --help: update description 2018-06-28 13:07:31 +00:00
cleanup.go Add `podman container cleanup` to CLI 2018-06-29 15:25:21 +00:00
commit.go remove buildah requirement for the libpod image library 2018-07-06 17:03:19 +00:00
common.go podman: accept option --rootfs to use exploded images 2018-06-15 14:53:18 +00:00
common_test.go Rename all references to kpod to podman 2017-12-18 16:46:05 +00:00
container.go Add `podman container cleanup` to CLI 2018-06-29 15:25:21 +00:00
create.go podman/libpod: add default AppArmor profile 2018-07-11 16:36:24 +00:00
create_cli.go Add --volumes-from flag to podman run and create 2018-07-09 19:30:03 +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 varlink images 2018-04-26 19:14:44 +00:00
exec.go varlink images 2018-04-26 19:14:44 +00:00
export.go Make ':' a restricted character for file names 2018-04-30 19:58:22 +00:00
history.go Podman history now prints out intermediate image IDs 2018-06-22 15:19:34 +00:00
image.go add podman container and image command 2018-06-13 14:30:45 +00:00
images.go podman rmi should only untag image if parent of another 2018-07-12 18:56:33 +00:00
import.go Aliases do not work with IsSet 2018-06-12 00:47:56 +00:00
info.go varlink images 2018-04-26 19:14:44 +00:00
inspect.go return all inspect info for varlink containerinspect 2018-06-01 08:37:55 +00:00
kill.go varlink images 2018-04-26 19:14:44 +00:00
load.go save and load should support multi-tag for docker-archive 2018-05-25 15:15:47 +00:00
login.go Fix build after c/image changes 2018-03-16 14:35:07 +00:00
logout.go Fix podman logout --all flag 2018-05-02 16:55:31 +00:00
logs.go varlink images 2018-04-26 19:14:44 +00:00
main.go rootless: add management for the userNS 2018-06-27 14:07:17 +00:00
mount.go Allow multiple mounts 2018-07-03 18:02:45 +00:00
parse.go podman create, start, getattachsocket 2018-05-21 19:26:56 +00:00
pause.go varlink images 2018-04-26 19:14:44 +00:00
port.go Add missing newline to podman port 2018-05-10 08:53:28 +00:00
ps.go Changed container status of Unknown from being printed as Dead to Error in Ps 2018-07-12 17:21:06 +00:00
pull.go save and load should support multi-tag for docker-archive 2018-05-25 15:15:47 +00:00
push.go save and load should support multi-tag for docker-archive 2018-05-25 15:15:47 +00:00
refresh.go Add podman refresh command 2018-06-22 19:26:46 +00:00
restart.go varlink containers 2018-05-03 17:31:33 +00:00
rm.go libpod: Execute poststop hooks locally 2018-06-04 18:36:40 +00:00
rmi.go add podman container and image command 2018-06-13 14:30:45 +00:00
run.go Refactor podman/utils with a single container start and attach function 2018-07-06 16:02:46 +00:00
run_test.go Spell check strings and comments 2018-05-25 08:45:15 +00:00
save.go save and load should support multi-tag for docker-archive 2018-05-25 15:15:47 +00:00
search.go Remove the --registry flag from podman search 2018-06-28 16:55:29 +00:00
sigproxy.go Add signal proxying to podman run, start, and attach 2018-03-15 16:00:20 -04:00
start.go Refactor podman/utils with a single container start and attach function 2018-07-06 16:02:46 +00:00
stats.go Podman stats with no containers listed is the same as podman stats --all 2018-07-07 19:52:51 +00:00
stop.go varlink images 2018-04-26 19:14:44 +00:00
tag.go varlink images 2018-04-26 19:14:44 +00:00
top.go top: make output tabular 2018-06-18 12:56:44 +00:00
umount.go Allow multiple containers and all for umount 2018-06-29 15:01:21 +00:00
unpause.go varlink images 2018-04-26 19:14:44 +00:00
user.go Rename all references to kpod to podman 2017-12-18 16:46:05 +00:00
utils.go Refactor podman/utils with a single container start and attach function 2018-07-06 16:02:46 +00:00
varlink.go make varlink optional for podman 2018-06-24 10:54:40 +00:00
varlink_dummy.go make varlink optional for podman 2018-06-24 10:54:40 +00:00
version.go Initial varlink implementation 2018-04-23 14:29:45 +00:00
wait.go varlink images 2018-04-26 19:14:44 +00:00

README.md

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