Set --state-dir on containerd.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
parent
0b5e84cc8d
commit
8b5e5c6195
1 changed files with 2 additions and 0 deletions
|
@ -33,6 +33,7 @@ const (
|
|||
containerdBinary = "docker-containerd"
|
||||
containerdPidFilename = "docker-containerd.pid"
|
||||
containerdSockFilename = "docker-containerd.sock"
|
||||
containerdStateDir = "containerd"
|
||||
eventTimestampFilename = "event.ts"
|
||||
)
|
||||
|
||||
|
@ -354,6 +355,7 @@ func (r *remote) runContainerdDaemon() error {
|
|||
"--shim", "docker-containerd-shim",
|
||||
"--runtime", "docker-runc",
|
||||
"--metrics-interval=0",
|
||||
"--state-dir", filepath.Join(r.stateDir, containerdStateDir),
|
||||
}
|
||||
if r.debugLog {
|
||||
args = append(args, "--debug")
|
||||
|
|
Loading…
Reference in a new issue