<div>I am trying to use the /dev/shm tmpfs folder of the host inside of the container but I am getting a new and empty /dev/shm when I create the container. I only want to execute a command which should have no networking at all. </div>

<div><br></div><div>My configuration is:</div><div>lxc.conf:</div><div>lxc.utsname = mycontainer</div><div>lxc.network.type = empty</div><div>lxc.network.flags = up</div><div>lxc.mount = lxc.fstab</div><div><br></div><div>

lxc.fstab:</div><div>/dev/shm /dev/shm bind 0 0</div>