[lxc-users] Obtain container's IP address(es) via REST API

Ivan Kurnosov zerkms at zerkms.ru
Tue Sep 26 00:11:50 UTC 2017


And as usually - I found the answer 10 seconds after I posted a question:

it's possible to obtain with `/1.0/containers/<name>/state` endpoint:

https://github.com/lxc/lxd/blob/master/doc/rest-api.md#10containersnamestate

Thanks.

On 26 September 2017 at 13:09, Ivan Kurnosov <zerkms at zerkms.ru> wrote:

> I've checked the https://github.com/lxc/lxd/blob/master/doc/rest-api.md
> and I'm not sure I can see a way to obtain the container's currently
> assigned IP address(es).
>
> Is it possible to do via the http api?
>
> --
> With best regards, Ivan Kurnosov
>



-- 
With best regards, Ivan Kurnosov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20170926/8a03c12b/attachment.html>


More information about the lxc-users mailing list