Getting IP address of a lxc container via libvirt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello 

I wanted to understand if there is a way to get LXC container's ip address.

- virDomainInterfaceAddresses API only works for qemu/kvm and not with the lxc driver.

What other options do I have? 

Using enter-lxc-namespace is throwing this error: 

virsh -c lxc:/// lxc-enter-namespace <domain> --noseclabel /sbin/ifconfig
libvirt:  error : Expected at least one file descriptor

Appreciate any help.

Regards,
Harish
_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux