Merge pull request #1664 from qingyunha/issue1607
move the fifo locations /run/containerd
This commit is contained in:
commit
91a33a0b47
@ -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