summaryrefslogtreecommitdiff
path: root/libpod
diff options
context:
space:
mode:
Diffstat (limited to 'libpod')
-rw-r--r--libpod/container_internal.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/libpod/container_internal.go b/libpod/container_internal.go
index 0b04cc81a..d8002b000 100644
--- a/libpod/container_internal.go
+++ b/libpod/container_internal.go
@@ -909,6 +909,7 @@ func (c *Container) generateSpec() (*spec.Spec, error) {
g.SetHostname(c.Hostname())
g.AddProcessEnv("HOSTNAME", g.Spec().Hostname)
+ g.AddProcessEnv("container", "libpod")
return g.Spec(), nil
}