summaryrefslogtreecommitdiff
path: root/cmd/podman
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman')
-rw-r--r--cmd/podman/spec.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/podman/spec.go b/cmd/podman/spec.go
index c4202fcef..014919e17 100644
--- a/cmd/podman/spec.go
+++ b/cmd/podman/spec.go
@@ -195,6 +195,7 @@ func createConfigToOCISpec(config *createConfig) (*spec.Spec, error) {
for sysctlKey, sysctlVal := range config.Sysctl {
g.AddLinuxSysctl(sysctlKey, sysctlVal)
}
+ g.AddProcessEnv("container", "podman")
// RESOURCES - MEMORY
if config.Resources.Memory != 0 {