Merge pull request #4699 from dweomer/selinx-relabel-dev-shm
cri: selinux relabel /dev/shm
This commit is contained in:
commit
293b08dd19
@ -102,6 +102,7 @@ func (c *criService) containerMounts(sandboxID string, config *runtime.Container
|
|||||||
ContainerPath: devShm,
|
ContainerPath: devShm,
|
||||||
HostPath: sandboxDevShm,
|
HostPath: sandboxDevShm,
|
||||||
Readonly: false,
|
Readonly: false,
|
||||||
|
SelinuxRelabel: true,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
return mounts
|
return mounts
|
||||||
|
Loading…
Reference in New Issue
Block a user