From f61a7f25a8a6ec27fec069989f4b19b2ea19fc75 Mon Sep 17 00:00:00 2001 From: Qi Wang Date: Tue, 16 Jun 2020 14:22:05 -0400 Subject: Add --preservefds to podman run Add --preservefds to podman run. close https://github.com/containers/libpod/issues/6458 Signed-off-by: Qi Wang --- cmd/podman/common/specgen.go | 1 + 1 file changed, 1 insertion(+) (limited to 'cmd/podman/common/specgen.go') diff --git a/cmd/podman/common/specgen.go b/cmd/podman/common/specgen.go index e6a524358..599e003e8 100644 --- a/cmd/podman/common/specgen.go +++ b/cmd/podman/common/specgen.go @@ -609,6 +609,7 @@ func FillOutSpecGen(s *specgen.SpecGenerator, c *ContainerCLIOpts, args []string } s.LogConfiguration.Options = logOpts s.Name = c.Name + s.PreserveFDs = c.PreserveFDs s.OOMScoreAdj = &c.OOMScoreAdj if c.Restart != "" { -- cgit v1.2.3-54-g00ecf