Add support for pod /dev/shm that is shared by the pod ctrs

Signed-off-by: Mrunal Patel <mpatel@redhat.com>
This commit is contained in:
Mrunal Patel 2016-12-08 15:32:17 -08:00
parent 8547c0dbd9
commit be29524ba4
6 changed files with 53 additions and 1 deletions

View file

@ -20,10 +20,12 @@ type sandbox struct {
processLabel string
mountLabel string
metadata *pb.PodSandboxMetadata
shmPath string
}
const (
podDefaultNamespace = "default"
defaultShmSize = 64 * 1024 * 1024
)
func (s *sandbox) addContainer(c *oci.Container) {