[lxc-users] how to get veth interface(s) id in LXD?
Tycho Andersen
tycho.andersen at canonical.com
Fri Jun 5 23:25:33 UTC 2015
Hi Jonathan,
On Fri, Jun 05, 2015 at 11:23:05AM -0400, Gregoire, Jonathan (520851) wrote:
> Hi,
>
> Does anybody knows how to get the veth interface(s) linked to an LXD container. I'm able to get it in LXC but not in LXD.
It turns out this isn't possible right now. However, it seems like a
reasonable thing to want to do, so I implemented it:
https://github.com/lxc/lxd/pull/738
Tycho
> In LXC:
>
> jonathan at lxd01:~$ sudo lxc-info -n container1
> Name: container1
> State: RUNNING
> PID: 7160
> IP: 10.0.3.142
> CPU use: 0.47 seconds
> BlkIO use: 4.00 KiB
> Memory use: 17.15 MiB
> KMem use: 0 bytes
> Link: veth32PUI2
> TX bytes: 1.57 KiB
> RX bytes: 1.69 KiB
> Total bytes: 3.26 KiB
>
>
> Jonathan
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
More information about the lxc-users
mailing list