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 Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
