[lxc-devel] [patch 3/3][RFC] implement lxc-cmd and lxc-enter using lxc_cinit daemon

Daniel Lezcano daniel.lezcano at free.fr
Thu Jan 14 21:02:52 UTC 2010


>
> From: dietmar at proxmox.com
>
> lxc-enter: execute bash inside CT and proxy tty stream
>
> lxc-cmd: execute arbitrary commands inside CT 
>
> Signed-off-by: Dietmar Maurer <dietmar at proxmox.com>
>   

I was wondering if a single command wouldn't be enough.

For example:
    lxc-sh -n <name> [command]

Without "command", we run a shell in the container, otherwise we run the 
command inside the container, no ?




More information about the lxc-devel mailing list