podman/libpod/define
Matthew Heon 6acd265306 Add --requires flag to podman run/create
Podman has, for a long time, had an internal concept of
dependency management, used mainly to ensure that pod infra
containers are started before any other container in the pod. We
also have the ability to recursively start these dependencies,
which we use to ensure that `podman start` on a container in a
pod will not fail because the infra container is stopped. We have
not, however, exposed these via the command line until now.

Add a `--requires` flag to `podman run` and `podman create` to
allow users to manually specify dependency containers. These
containers must be running before the container will start. Also,
make recursive starting with `podman start` default so we can
start these containers and their dependencies easily.

Fixes #9250

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2021-04-06 14:01:31 -04:00
..
annotations.go add {generate,play} kube 2020-05-06 17:08:22 +02:00
config.go Add --umask flag for create, run 2020-07-21 14:22:30 -04:00
container.go Do not leak libpod package into the remote client 2021-03-15 14:02:04 +01:00
container_inspect.go Display correct value for unlimited ulimit 2021-02-10 14:17:58 -06:00
containerstate.go container stop: release lock before calling the runtime 2021-01-14 17:45:30 +01:00
errors.go Add --requires flag to podman run/create 2021-04-06 14:01:31 -04:00
exec_codes.go Revert "Exec: use ErrorConmonRead" 2020-03-09 09:50:40 -04:00
fileinfo.go podman cp: support copying on tmpfs mounts 2021-03-04 15:43:12 +01:00
healthchecks.go Fix remote integration for healthchecks 2020-05-20 14:43:01 -05:00
info.go Add Security information to podman info 2020-12-22 08:13:14 -05:00
mount.go separate file with mount consts in libpod/define 2021-03-07 12:01:04 +01:00
pod_inspect.go Fix podman pod inspect show wrong MAC string 2020-11-18 18:06:06 +08:00
podstate.go Add a Degraded state to pods 2020-10-21 13:31:40 -04:00
runtime.go Add support for containers.conf 2020-03-27 14:36:03 -04:00
terminal.go prune remotecommand dependency 2021-02-25 10:02:41 -06:00
version.go Use version package to track all versions 2021-03-03 17:03:19 -07:00
volume_inspect.go Initial implementation of volume plugins 2021-01-14 15:35:33 -05:00