I have started the lxc using lxc-start. Now, how I can get the IP address of the container?
Advertisement
Answer
$ awk '{ print $4,$3 }' /var/lib/misc/dnsmasq.leases | column -t containername 10.0.3.83
I have started the lxc using lxc-start. Now, how I can get the IP address of the container?
$ awk '{ print $4,$3 }' /var/lib/misc/dnsmasq.leases | column -t containername 10.0.3.83