spiegel_podman/cmd/podman
baude e89bbd6068 make varlink optional for podman
some platforms and operating systems do not have varlink.  in those cases,
we need to be able to turn off enablement of varlink in podman. this can now
be done with BUILDTAGS passed to the build though perhaps in the future
will be better.

the default is to build with varlink

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

squash! make varlink optional for podman

The API.md and cmd/podman/varlink/ioprojectatomicpodman.go targets
will continue to work regardless of the presence (or not) of 'varlink'
is in BUILDTAGS.  However, cmd/podman/varlink/ioprojectatomicpodman.go
is now only required by the podman target when BUILDTAGS contains
'varlink'.

API.md had also been an podman dependency since 5b2627dd (Makefile:
Drop find-godeps.sh for podman target, 2018-05-15, #776) when I
expanded varlink_api_generate.  It had been an indirect podman
dependency (via varlink_api_generate) since 25263558 (Generate varlink
API documentation automatically, 2018-05-07, #734).  But the podman
executable obviously doesn't depend on the Markdown file, so I'm
removing that dependency here.

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

squash! make varlink optional for podman

The command-pointer approach will scale well if/when we add additional
optional commands behind their own build tags, because those tags
won't all be competing for the same getOptionalCommands namespace.

Signed-off-by: W. Trevor King <wking@tremily.us>

Closes: #987
Approved by: rhatdan
2018-06-24 10:54:40 +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 podman: use a different store for the rootless case 2018-06-15 14:53:18 +00:00
varlink varlink build fixes 2018-06-05 19:31:13 +00:00
attach.go varlink images 2018-04-26 19:14:44 +00:00
build.go Fix podman build -q 2018-06-19 14:14:18 +00:00
commit.go Aliases do not work with IsSet 2018-06-12 00:47:56 +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 Move podman refresh under the container subcommand 2018-06-22 19:26:46 +00:00
create.go Option handling has become large and should be a shared function 2018-06-22 14:30:18 +00:00
create_cli.go podman create, start, getattachsocket 2018-05-21 19:26:56 +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 Added --sort to ps 2018-06-19 14:45:29 +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 make varlink optional for podman 2018-06-24 10:54:40 +00:00
mount.go varlink images 2018-04-26 19:14:44 +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 Added --sort to ps 2018-06-19 14:45:29 +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
README.md Update Podman-specific readme 2018-05-11 15:32:27 +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 Option handling has become large and should be a shared function 2018-06-22 14:30:18 +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 TLS verify is skipped per registry. 2018-06-18 18:46:55 +00:00
sigproxy.go Add signal proxying to podman run, start, and attach 2018-03-15 16:00:20 -04:00
start.go varlink images 2018-04-26 19:14:44 +00:00
stats.go varlink images 2018-04-26 19:14:44 +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 varlink images 2018-04-26 19:14:44 +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 Add carriage return to log message when using --tty flag 2018-06-19 19:03:12 +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

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