Add no pivot root support
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
parent
aa976325f5
commit
47f239706c
9 changed files with 182 additions and 141 deletions
|
@ -116,11 +116,17 @@ func (p *process) start() error {
|
|||
if p.checkpoint.UnixSockets {
|
||||
add("--ext-unix-sk")
|
||||
}
|
||||
if p.state.NoPivotRoot {
|
||||
add("--no-pivot")
|
||||
}
|
||||
} else {
|
||||
args = append(args, "start",
|
||||
"--bundle", p.bundle,
|
||||
"--console", p.consolePath,
|
||||
)
|
||||
if p.state.NoPivotRoot {
|
||||
args = append(args, "--no-pivot")
|
||||
}
|
||||
}
|
||||
args = append(args,
|
||||
"-d",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue