mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-10-31 10:17:43 +00:00
start pod containers recursively
when using the play kube command, we need to make sure that containers with dependancies are started in proper order. in this case, the infra container must be started first. Signed-off-by: baude <bbaude@redhat.com>
This commit is contained in:
parent
507ab29cfe
commit
c79c641da1
1 changed files with 1 additions and 1 deletions
|
|
@ -153,7 +153,7 @@ func playKubeYAMLCmd(c *cliconfig.KubePlayValues) error {
|
|||
|
||||
// start the containers
|
||||
for _, ctr := range containers {
|
||||
if err := ctr.Start(ctx, false); err != nil {
|
||||
if err := ctr.Start(ctx, true); err != nil {
|
||||
// Making this a hard failure here to avoid a mess
|
||||
// the other containers are in created status
|
||||
return err
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue