containerd: add state flag to specify state dir

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
This commit is contained in:
Kenfe-Mickael Laventure
2017-08-18 09:10:44 -07:00
parent d541567119
commit dbd3eff1e6
4 changed files with 12 additions and 1 deletions

View File

@@ -66,6 +66,7 @@ func TestMain(m *testing.M) {
err := ctrd.start("containerd", address, []string{
"--root", defaultRoot,
"--state", defaultState,
"--log-level", "debug",
}, buf, buf)
if err != nil {