Browse code

fix #35843 regression on health check workingdir

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>

Nicolas De Loof authored on 2017/12/20 22:02:59
Showing 1 changed files
... ...
@@ -80,6 +80,7 @@ func (p *cmdProbe) run(ctx context.Context, d *Daemon, cntr *container.Container
80 80
 	execConfig.Tty = false
81 81
 	execConfig.Privileged = false
82 82
 	execConfig.User = cntr.Config.User
83
+	execConfig.WorkingDir = cntr.Config.WorkingDir
83 84
 
84 85
 	linkedEnv, err := d.setupLinkedContainers(cntr)
85 86
 	if err != nil {