зеркало из https://github.com/microsoft/docker.git
Mount libcontainer state dir in tmpfs
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Родитель
06c939e527
Коммит
2b12b099b8
|
@ -60,7 +60,12 @@ func NewDriver(root, initPath string) (*driver, error) {
|
|||
cgm = libcontainer.SystemdCgroups
|
||||
}
|
||||
|
||||
f, err := libcontainer.New(root, cgm, libcontainer.InitPath(reexec.Self(), DriverName))
|
||||
f, err := libcontainer.New(
|
||||
root,
|
||||
cgm,
|
||||
libcontainer.InitPath(reexec.Self(), DriverName),
|
||||
libcontainer.TmpfsRoot,
|
||||
)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче