Merge pull request #693 from tonistiigi/containerd-debug-sock
testutil: use different containerd debug sockdocker-18.09 v0.3.1
commit
867bcd343f
|
@ -96,11 +96,12 @@ disabled_plugins = ["cri"]
|
||||||
|
|
||||||
[debug]
|
[debug]
|
||||||
level = "debug"
|
level = "debug"
|
||||||
|
address = %q
|
||||||
|
|
||||||
[plugins]
|
[plugins]
|
||||||
[plugins.linux]
|
[plugins.linux]
|
||||||
shim = %q
|
shim = %q
|
||||||
`, filepath.Join(tmpdir, "root"), filepath.Join(tmpdir, "state"), address, c.containerdShim)
|
`, filepath.Join(tmpdir, "root"), filepath.Join(tmpdir, "state"), address, filepath.Join(tmpdir, "debug.sock"), c.containerdShim)
|
||||||
configFile := filepath.Join(tmpdir, "config.toml")
|
configFile := filepath.Join(tmpdir, "config.toml")
|
||||||
if err := ioutil.WriteFile(configFile, []byte(config), 0644); err != nil {
|
if err := ioutil.WriteFile(configFile, []byte(config), 0644); err != nil {
|
||||||
return nil, nil, err
|
return nil, nil, err
|
||||||
|
|
Loading…
Reference in New Issue