move the fifo locations /run/containerd
Signed-off-by: Tao Qingyun <845767657@qq.com>
This commit is contained in:
parent
992280e8e2
commit
f325d51c5e
@ -16,7 +16,7 @@ import (
|
|||||||
|
|
||||||
// NewFifos returns a new set of fifos for the task
|
// NewFifos returns a new set of fifos for the task
|
||||||
func NewFifos(id string) (*FIFOSet, error) {
|
func NewFifos(id string) (*FIFOSet, error) {
|
||||||
root := filepath.Join(os.TempDir(), "containerd")
|
root := "/run/containerd/fifo"
|
||||||
if err := os.MkdirAll(root, 0700); err != nil {
|
if err := os.MkdirAll(root, 0700); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user