move the fifo locations /run/containerd

Signed-off-by: Tao Qingyun <845767657@qq.com>
This commit is contained in:
Tao Qingyun 2017-10-20 06:55:22 +08:00
parent 992280e8e2
commit f325d51c5e

View File

@ -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
} }