From c987901f8d64ab2390409018074b2f93c1718e89 Mon Sep 17 00:00:00 2001 From: Victor Vieux Date: Wed, 5 Mar 2014 20:26:48 +0000 Subject: [PATCH] Add missing -- when we run dockerinit from native Docker-DCO-1.1-Signed-off-by: Victor Vieux (github: vieux) --- execdriver/native/driver.go | 1 + 1 file changed, 1 insertion(+) diff --git a/execdriver/native/driver.go b/execdriver/native/driver.go index 88253a5940..e53b06fba2 100644 --- a/execdriver/native/driver.go +++ b/execdriver/native/driver.go @@ -246,6 +246,7 @@ func (d *dockerCommandFactory) Create(container *libcontainer.Container, console "-console", console, "-pipe", fmt.Sprint(syncFd), "-root", filepath.Join(d.driver.root, d.c.ID), + "--", }, args...) // set this to nil so that when we set the clone flags anything else is reset