[Bug 1304309] Re: Bind mounting for cloned containers is too hard; provide equivalent of lxc-start-ephemeral --bind option
Stéphane Graber
stgraber at stgraber.org
Tue Apr 8 14:20:06 UTC 2014
You could use something like:
lxc-start -n my-container -s "lxc.mount.entry=/path/on/host path/in/container none bind,create=dir 0 0"
Which will bind-mount /path/on/host to <rootfs>/path/in/container and
create the target path if missing.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1304309
Title:
Bind mounting for cloned containers is too hard; provide equivalent of
lxc-start-ephemeral --bind option
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1304309/+subscriptions
More information about the Ubuntu-server-bugs
mailing list