Move container.json and pid file into a root specific driver dir

Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)
This commit is contained in:
Michael Crosby
2014-02-25 12:41:31 -08:00
parent ca42758368
commit 96e33a7646
8 changed files with 41 additions and 25 deletions
+2
View File
@@ -55,6 +55,7 @@ func SysInit() {
driver = flag.String("driver", "", "exec driver")
pipe = flag.Int("pipe", 0, "sync pipe fd")
console = flag.String("console", "", "console (pty slave) path")
root = flag.String("root", ".", "root path for configuration files")
)
flag.Parse()
@@ -82,6 +83,7 @@ func SysInit() {
Driver: *driver,
Console: *console,
Pipe: *pipe,
Root: *root,
}
if err := executeProgram(args); err != nil {