Re: [LEDE-DEV] [PATCH packages] rpcd-mod-lxc: add "info" ubus method (similar to the lxc-info)

2017-11-07 Thread Luka Perkov
> On Nov 7, 2017, at 12:02 PM, Rafał Miłecki wrote: > > From: Rafał Miłecki > > This method allows getting basic info about a queried container. It's > based on the lxc-info command-line tool. > > Example output: >> ubus call lxc info '{ "name": "foo" }' > { >"name": "foo", >"

[LEDE-DEV] [PATCH packages] rpcd-mod-lxc: add "info" ubus method (similar to the lxc-info)

2017-11-07 Thread Rafał Miłecki
From: Rafał Miłecki This method allows getting basic info about a queried container. It's based on the lxc-info command-line tool. Example output: > ubus call lxc info '{ "name": "foo" }' { "name": "foo", "state": "RUNNING", "pid": 2946, "ips": [ "