[Lxc-users] How to work with lxc_execute

nishant mungse nishantmungse at gmail.com
Mon Sep 12 09:18:23 UTC 2011


Hello all

I have created a container using lxc_create, and after that i used lxc_start
command to start. It starts correctly but i want to use  lxc_execute. And i
am finding difficulties in lxc_execute. Can any one tell me how to use
lxc_execute. Following are commands used for create and start::
lxc_create -n ubuntu1 -f /home/nishant/ubuntu.conf -t lucid
lxc_start -n ubuntu

*lxc-execute -n name -f conf_file command :: here i don't understand what to
give in command and what is [-s KEY=VAL ] stands for.*

And now i don't wanna use lxc_start i wanna use directly lxc_execute instead
of lxc_start what should i do for executing the container directly.

Plz help me ASAP.

Regards,
Nishant
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20110912/83b78899/attachment.html>


More information about the lxc-users mailing list