mirror of https://github.com/docker/docs.git
Merge pull request #1107 from eliasp/issue-1020
* Runtime: Don't remove the container= environment variable.
This commit is contained in:
commit
c9e1c65c64
|
@ -60,9 +60,6 @@ func cleanupEnv(env ListOpts) {
|
||||||
if len(parts) == 1 {
|
if len(parts) == 1 {
|
||||||
parts = append(parts, "")
|
parts = append(parts, "")
|
||||||
}
|
}
|
||||||
if parts[0] == "container" {
|
|
||||||
continue
|
|
||||||
}
|
|
||||||
os.Setenv(parts[0], parts[1])
|
os.Setenv(parts[0], parts[1])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue