mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-05 05:01:28 +00:00
Merge pull request #1244 from dotcloud/1020_add_variable
*Runtime: Add container=lxc in default env
This commit is contained in:
@@ -641,6 +641,7 @@ func (container *Container) Start(hostConfig *HostConfig) error {
|
||||
params = append(params,
|
||||
"-e", "HOME=/",
|
||||
"-e", "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
|
||||
"-e", "container=lxc",
|
||||
)
|
||||
|
||||
for _, elem := range container.Config.Env {
|
||||
|
||||
Reference in New Issue
Block a user