mirror of
https://github.com/docker/cli.git
synced 2026-01-16 20:22:36 +03:00
Mount libcontainer state dir in tmpfs
Signed-off-by: Michael Crosby <crosbymichael@gmail.com> Upstream-commit: 2b12b099b8c60f02142ab8ece68987a8fba00292 Component: engine
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user