Browse code

Add missing -- when we run dockerinit from native

Docker-DCO-1.1-Signed-off-by: Victor Vieux <victor.vieux@docker.com> (github: vieux)

Victor Vieux authored on 2014/03/06 05:26:48
Showing 1 changed files
... ...
@@ -246,6 +246,7 @@ func (d *dockerCommandFactory) Create(container *libcontainer.Container, console
246 246
 		"-console", console,
247 247
 		"-pipe", fmt.Sprint(syncFd),
248 248
 		"-root", filepath.Join(d.driver.root, d.c.ID),
249
+		"--",
249 250
 	}, args...)
250 251
 
251 252
 	// set this to nil so that when we set the clone flags anything else is reset