podman/cmd/kpod
baude acd9c66864 Fix terminal attach
Re-order the startup of a new container via run from
initialize > start > attach to initialize > attach > start.

This fixes output when running:

kpod run -i -t IMAGE command

and

kpod run IMAGE command

Signed-off-by: baude <bbaude@redhat.com>
2017-11-15 16:27:57 -06:00
..
docker Initial checkin from CRI-O repo 2017-11-01 11:24:59 -04:00
formats Initial checkin from CRI-O repo 2017-11-01 11:24:59 -04:00
README.md Initial checkin from CRI-O repo 2017-11-01 11:24:59 -04:00
common.go Fix gofmt errors 2017-11-02 15:30:39 -04:00
common_test.go Initial checkin from CRI-O repo 2017-11-01 11:24:59 -04:00
create.go Fix terminal attach 2017-11-15 16:27:57 -06:00
create_cli.go libpod/runtime_img_test.go Unit Tests 2017-11-04 11:12:14 -05:00
create_cli_test.go util_test.go: Unittests for util.go 2017-11-03 20:37:27 -05:00
diff.go Fix gofmt errors 2017-11-02 15:30:39 -04:00
export.go Initial checkin from CRI-O repo 2017-11-01 11:24:59 -04:00
history.go Add 'kpod import' command 2017-11-07 19:16:31 +00:00
images.go Fix gofmt errors 2017-11-02 15:30:39 -04:00
import.go Add 'kpod import' command 2017-11-07 19:16:31 +00:00
info.go Fix gofmt errors 2017-11-02 15:30:39 -04:00
inspect.go Fix gofmt errors 2017-11-02 15:30:39 -04:00
kill.go Fix gofmt errors 2017-11-02 15:30:39 -04:00
load.go Fix gofmt errors 2017-11-02 15:30:39 -04:00
login.go Fix gofmt errors 2017-11-02 15:30:39 -04:00
logout.go Fix gofmt errors 2017-11-02 15:30:39 -04:00
logs.go Fix gofmt errors 2017-11-02 15:30:39 -04:00
main.go Add cpu-profiling to kpod 2017-11-09 17:36:11 +00:00
mount.go Fix gofmt errors 2017-11-02 15:30:39 -04:00
parse.go libpod create and run 2017-11-01 14:19:19 -05:00
pause.go Fix gofmt errors 2017-11-02 15:30:39 -04:00
ps.go Fix gofmt errors 2017-11-02 15:30:39 -04:00
pull.go Fix gofmt errors 2017-11-02 15:30:39 -04:00
push.go Fix gofmt errors 2017-11-02 15:30:39 -04:00
rename.go Fix gofmt errors 2017-11-02 15:30:39 -04:00
rm.go Fix gofmt errors 2017-11-02 15:30:39 -04:00
rmi.go Remove all images 2017-11-14 16:46:26 +00:00
run.go Fix terminal attach 2017-11-15 16:27:57 -06:00
save.go Add 'kpod import' command 2017-11-07 19:16:31 +00:00
spec.go Convert tmpfs mounts to use generate 2017-11-06 14:43:06 +00:00
spec_test.go libpod/runtime_img_test.go Unit Tests 2017-11-04 11:12:14 -05:00
stats.go Fix gofmt errors 2017-11-02 15:30:39 -04:00
stop.go Fix gofmt errors 2017-11-02 15:30:39 -04:00
tag.go Fix gofmt errors 2017-11-02 15:30:39 -04:00
umount.go Initial checkin from CRI-O repo 2017-11-01 11:24:59 -04:00
unpause.go Fix gofmt errors 2017-11-02 15:30:39 -04:00
user.go libpod create and run 2017-11-01 14:19:19 -05:00
version.go Initial checkin from CRI-O repo 2017-11-01 11:24:59 -04:00
wait.go Fix gofmt errors 2017-11-02 15:30:39 -04:00

README.md

kpod - Simple debugging tool for pods and images

kpod 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 kpod. kpod does not require any daemon running. kpod 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. kpod 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.