Signed-off-by: David McKay <david@rawkode.com>
David McKay authored on 2017/03/03 01:23:56... | ... |
@@ -78,6 +78,7 @@ func (p *cmdProbe) run(ctx context.Context, d *Daemon, container *container.Cont |
78 | 78 |
execConfig.Tty = false |
79 | 79 |
execConfig.Privileged = false |
80 | 80 |
execConfig.User = container.Config.User |
81 |
+ execConfig.Env = container.Config.Env |
|
81 | 82 |
|
82 | 83 |
d.registerExecCommand(container, execConfig) |
83 | 84 |
d.LogContainerEvent(container, "exec_create: "+execConfig.Entrypoint+" "+strings.Join(execConfig.Args, " ")) |