From c79c641da1df48b54de4d485c5d0fd9d2bf2849a Mon Sep 17 00:00:00 2001 From: baude Date: Tue, 26 Feb 2019 10:19:08 -0600 Subject: 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 --- cmd/podman/play_kube.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/podman/play_kube.go b/cmd/podman/play_kube.go index a59460b71..1a45cbed9 100644 --- a/cmd/podman/play_kube.go +++ b/cmd/podman/play_kube.go @@ -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 -- cgit v1.2.3-54-g00ecf