automation-tests/cmd/podman
baude fa8442e4a0 podman pull should always try to pull
In the case where you have an image local, if the the user runs
podman pull, we should always attempt to pull an updated image.

Added a forceRemote bool to New (image) so we can differentiate
between "pull" or run because the actions differ.  Run does not
need to pull the latest -- only run.

Signed-off-by: baude <bbaude@redhat.com>

Closes: #618
Approved by: baude
2018-04-14 23:55:24 +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
README.md Rename all references to kpod to podman 2017-12-18 16:46:05 +00:00
attach.go Fix terminal attach 2018-04-13 18:43:44 +00:00
build.go Add buildah bud options from common.go 2018-03-06 23:55:46 +00:00
commit.go Use buildah commit for podman commit 2018-04-10 13:31:59 +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 pull should always try to pull 2018-04-14 23:55:24 +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 Add -i to exec for compatibility reasons 2018-04-11 15:02:50 +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 podman pull should always try to pull 2018-04-14 23:55:24 +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 hooks support to podman 2018-04-05 14:13: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 podman pull should always try to pull 2018-04-14 23:55:24 +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 Remove image via storage if a buildah container is associated 2018-04-05 15:44:11 +00:00
run.go podman pull should always try to pull 2018-04-14 23:55:24 +00:00
run_test.go Functionality changes to the following flags 2018-04-06 00:09:46 +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 Functionality changes to the following flags 2018-04-06 00:09:46 +00:00
spec_test.go Implement --image-volumes for create and run 2018-02-22 15:14:00 +00:00
start.go Allow the use of -i/-a on any container 2018-04-14 13:48:35 +00:00
stats.go Containers transitioning to stop should not break stats 2018-04-11 18:35:37 +00:00
stop.go Stopping a stopped container should not be an error 2018-04-03 18:37:41 +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 Change attach to accept a struct containing streams 2018-04-13 18:43:44 +00: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.