automation-tests/pkg
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 Spelling 2020-12-22 13:34:31 -05:00
api Add --requires flag to podman run/create 2021-04-06 14:01:31 -04:00
auth Enable whitespace linter 2021-02-11 23:01:56 +01:00
autoupdate Do not leak libpod package into the remote client 2021-03-15 14:02:04 +01:00
bindings Add --requires flag to podman run/create 2021-04-06 14:01:31 -04:00
cgroups Merge pull request #9464 from giuseppe/fix-cgroupv1-stats 2021-02-22 15:48:44 -05:00
channel fix closed the remote connection on pull causes service panic 2020-10-03 11:38:38 +08:00
checkpoint Use functions and defines from checkpointctl 2021-03-02 17:00:06 +00:00
copy podman cp: support copying on tmpfs mounts 2021-03-04 15:43:12 +01:00
criu
ctime Re-add int64 casts for ctime 2019-07-23 15:43:40 -04:00
domain Add --requires flag to podman run/create 2021-04-06 14:01:31 -04:00
env Ensure DefaultEnvVariables is used in Specgen 2020-08-18 15:17:46 -04:00
errorhandling Reduce general binding binary size 2021-01-13 09:35:24 -06:00
hooks bump go module to v3 2021-02-22 09:03:51 +01:00
inspect bump go module to v3 2021-02-22 09:03:51 +01:00
kubeutils prune remotecommand dependency 2021-02-25 10:02:41 -06:00
lookup Enable whitespace linter 2021-02-11 23:01:56 +01:00
machine Merge pull request #9873 from baude/correctaarch64 2021-03-30 17:09:58 +02:00
namespaces [NO TESTS NEEDED] Shrink the size of podman-remote 2021-03-29 09:49:45 -04:00
netns bump go module to v3 2021-02-22 09:03:51 +01:00
network Split libpod/network package 2021-03-15 14:01:52 +01:00
parallel bump go module to v3 2021-02-22 09:03:51 +01:00
ps bump go module to v3 2021-02-22 09:03:51 +01:00
registrar bump go module to v3 2021-02-22 09:03:51 +01:00
registries Document CONTAINERS_CONF/CONTAINERS_STORAGE_CONF Env variables 2021-03-10 06:34:47 -05:00
resolvconf bump go module to v3 2021-02-22 09:03:51 +01:00
rootless Merge pull request #9855 from giuseppe/fix-service-race-condition 2021-03-29 17:40:21 +00:00
rootlessport Enable whitespace linter 2021-02-11 23:01:56 +01:00
seccomp Spelling 2020-12-22 13:34:31 -05:00
selinux Fix SELinux functions names to not be repetitive 2020-04-23 15:57:34 -04:00
signal Fix build for mips architecture follow-up 2021-01-07 15:04:22 +01:00
specgen Add --requires flag to podman run/create 2021-04-06 14:01:31 -04:00
systemd podman generate systemd --new do not duplicate params 2021-03-28 20:01:17 +02:00
terminal pkg/terminal: use c/storage/pkg/homedir 2021-03-08 09:21:13 +01:00
timetype make lint: enable gocritic 2020-01-13 14:27:02 +01:00
trust Enable whitespace linter 2021-02-11 23:01:56 +01:00
util [NO TESTS NEEDED] Shrink the size of podman-remote 2021-03-29 09:49:45 -04:00