mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 17:34:18 +03:00
c27553b6e2
This patch adds feature for lxc containers to inherit namespaces. This is very similar to what lxc-tools or docker provides. Look for "man lxc-start" and you will find that you can pass command args as [ --share-[net|ipc|uts] name|pid ]. Or check out docker networking option in which you can give --net=container:NAME_or_ID as an option for sharing +namespace. >From this patch you can add extra libvirt option to share namespace in following way. <lxc:namespace> <lxc:sharenet type='netns' value='red'/> <lxc:shareipc type='pid' value='12345'/> <lxc:shareuts type='name' value='container1'/> </lxc:namespace> The netns option is specific to sharenet. It can be used to inherit from existing network namespace. Co-authored: Daniel P. Berrange <berrange@redhat.com> |
||
---|---|---|
.. | ||
lxc-capabilities.xml | ||
lxc-disk-formats.xml | ||
lxc-filesystem-ram.xml | ||
lxc-filesystem-root.xml | ||
lxc-hostdev.xml | ||
lxc-idmap.xml | ||
lxc-sharenet.xml | ||
lxc-systemd.xml |