automation-tests/cmd/podman/common
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
..
completion.go Improvements for machine 2021-03-25 11:02:33 -05:00
create.go Add --requires flag to podman run/create 2021-04-06 14:01:31 -04:00
create_opts.go Add --requires flag to podman run/create 2021-04-06 14:01:31 -04:00
createparse.go bump go module to v3 2021-02-22 09:03:51 +01:00
default.go bump go module to v3 2021-02-22 09:03:51 +01:00
diffChanges.go bump go module to v3 2021-02-22 09:03:51 +01:00
netflags.go Enable no_hosts from containers.conf 2021-02-26 06:37:48 -05:00
ports.go V2 enable ps tests 2020-04-29 15:51:37 -07:00
specgen.go Add --requires flag to podman run/create 2021-04-06 14:01:31 -04:00
util.go bump go module to v3 2021-02-22 09:03:51 +01:00
volumes.go replace local mount consts with libpod/define 2021-03-07 12:03:34 +01:00