mirror of
https://github.com/clearlinux/docker.git
synced 2026-10-03 15:28:35 +00:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user