summaryrefslogtreecommitdiff
path: root/cmd/podman/create.go
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2018-10-08 11:08:14 -0400
committerMatthew Heon <matthew.heon@gmail.com>2018-10-11 13:19:39 -0400
commitf87f0abb77f27a868d03656cf0458e2f0a88ca5f (patch)
tree2b2becf04c26213361eeeed5a8e0e997642170ee /cmd/podman/create.go
parentb5f4bb15a5569ba6cf3517c3c979c75ad205ada5 (diff)
downloadpodman-f87f0abb77f27a868d03656cf0458e2f0a88ca5f.tar.gz
podman-f87f0abb77f27a868d03656cf0458e2f0a88ca5f.tar.bz2
podman-f87f0abb77f27a868d03656cf0458e2f0a88ca5f.zip
Pass along syslog variable to podman cleanup processes
As of now, there is no way to debug podman clean up processes. They are started by conmon with no stdout/stderr and log nowhere. This allows us to actually figure out what is going on when a cleanup process runs. Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
Diffstat (limited to 'cmd/podman/create.go')
-rw-r--r--cmd/podman/create.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/podman/create.go b/cmd/podman/create.go
index 574137271..e442e5c03 100644
--- a/cmd/podman/create.go
+++ b/cmd/podman/create.go
@@ -782,6 +782,7 @@ func parseCreateOpts(ctx context.Context, c *cli.Context, runtime *libpod.Runtim
WorkDir: workDir,
Rootfs: rootfs,
VolumesFrom: c.StringSlice("volumes-from"),
+ Syslog: c.GlobalBool("syslog"),
}
if config.Privileged {