[systemd-devel] Systemd-nspawn -- Canot add interface to container
Mantas Mikulėnas
grawity at gmail.com
Thu Sep 25 10:11:56 PDT 2014
On Thu, Sep 25, 2014 at 7:49 PM, James Lott <james at lottspot.com> wrote:
>
> Hi Marcel,
>
> Thanks for the help pointing that one out! With your guidance I was able to
> figure out that I'll need to run something like:
>
> iw phy phy0 set netns <pid>
>
> Unfortunately I'm having some trouble trying to figure out the network
> namespace PID to assign the phy0 interface to. Although I definitely have
> containers with private networking running, I can't view any information about
> their network namespaces
Generally, using the PID of /any/ process in the container (e.g. the
init) should work the same.
`ip netns` only shows "persistent" namespaces which were given a name
using the same tool. Containers generally don't bother with that.
--
Mantas Mikulėnas <grawity at gmail.com>
More information about the systemd-devel
mailing list