Intro
/dev/shm is the implementation of traditional shared memory concept. It's a way to pass data between processes. It is also a file system which keeps all files in virtual memory.
Warnings
The storage media (Disk, SSD, etc.) of an emptyDir volume is determined by the medium of the filesystem holding the kubelet root dir (typically /var/lib/kubelet). There is no limit on how much space an emptyDir or hostPath volume can consume, and no isolation between Containers or between Pods. Source: https://kubernetes.io/docs/concepts/storage/volumes/
Implementations
Docker
docker run -p 3600:3600 --shm-size 1G -it coderecipes/coderecipes:production-0e1d4d3a1f799f8aa1fd1222e3caf768e575491a /bin/sh
Kubernetes
Created on 1/16/2019