1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-20 07:38:40 +02:00
openwrt-packages/utils/rpcd-mod-lxc
Rafał Miłecki f2a725ba2d rpcd-mod-lxc: add "info" ubus method (similar to the lxc-info)
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": [
                "192.168.0.124"
        ]
}

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Approved-by: Luka Perkov <luka@openwrt.org>
2017-11-07 23:34:59 +01:00
..
files rpcd-mod-lxc: add "info" ubus method (similar to the lxc-info) 2017-11-07 23:34:59 +01:00
Makefile rpcd-mod-lxc: add spdx license info 2014-11-11 12:02:50 +01:00