diff options
author | Matthew Heon <matthew.heon@gmail.com> | 2018-03-23 10:23:26 -0400 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-03-23 15:22:01 +0000 |
commit | 8ca3bcc85d6bbf05e7838b20bfb1ae74afa8d35d (patch) | |
tree | ac382a7d4544d124341107400ec1d087ac3b726a /libpod | |
parent | c1ff034a6c84344c4430b1911a5c83604a33fa0f (diff) | |
download | podman-8ca3bcc85d6bbf05e7838b20bfb1ae74afa8d35d.tar.gz podman-8ca3bcc85d6bbf05e7838b20bfb1ae74afa8d35d.tar.bz2 podman-8ca3bcc85d6bbf05e7838b20bfb1ae74afa8d35d.zip |
Add CONTAINER environment variable
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
Closes: #533
Approved by: baude
Diffstat (limited to 'libpod')
-rw-r--r-- | libpod/container_internal.go | 1 |
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 } |