[lxc-devel] liblxc, lxc-browse()
Rob Landley
rlandley at parallels.com
Fri Apr 15 15:00:08 UTC 2011
On 04/13/2011 12:49 PM, Francois-Xavier Bourlet wrote:
> Hi,
>
> Here's a patch with the purpose adding a way to browse containers trough liblxc.
What does "browse" mean in this context?
> I added the function lxc-browse, that simply call back a function with
> the container name as parameter.
So, get a list of the containers? Like lxc-ls?
> It help to abstract how to browse containers without needed to know
> the underlaying structure of LXC.
for i in $(lxc-ls); do lxc-info -n $i; done
I don't understand the purpose of this patch.
Rob
More information about the lxc-devel
mailing list