mirror of
https://github.com/docker/cli.git
synced 2026-01-18 08:21:31 +03:00
Merge pull request #1107 from eliasp/issue-1020
* Runtime: Don't remove the container= environment variable. Upstream-commit: c9e1c65c640a1ad951586fe8e41f9f1658244f04 Component: engine
This commit is contained in:
@@ -60,9 +60,6 @@ func cleanupEnv(env ListOpts) {
|
||||
if len(parts) == 1 {
|
||||
parts = append(parts, "")
|
||||
}
|
||||
if parts[0] == "container" {
|
||||
continue
|
||||
}
|
||||
os.Setenv(parts[0], parts[1])
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user