[Lxc-users] Mount /dev/shm of the host inside a container
Fevzi Çakmak
reliable61 at gmail.com
Mon Jan 9 06:18:22 UTC 2012
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.
My configuration is:
lxc.conf:
lxc.utsname = mycontainer
lxc.network.type = empty
lxc.network.flags = up
lxc.mount = lxc.fstab
lxc.fstab:
/dev/shm /dev/shm bind 0 0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20120109/f36fd66a/attachment.html>
More information about the lxc-users
mailing list