使用clone()or unshare(),我们可以创建一个网络命名空间。就像命令一样:
ns_exec -nm -- /bin/bash
(见http://lxc.sourceforge.net/index.php/about/kernel-namespaces/network/configuration/)
如果我使用ns_exec命令创建了多个网络命名空间,我在哪里可以看到它们?或者我如何计算网络命名空间的数量?
使用clone()or unshare(),我们可以创建一个网络命名空间。就像命令一样:
ns_exec -nm -- /bin/bash
(见http://lxc.sourceforge.net/index.php/about/kernel-namespaces/network/configuration/)
如果我使用ns_exec命令创建了多个网络命名空间,我在哪里可以看到它们?或者我如何计算网络命名空间的数量?