[Lxc-users] Executing a command inside a container?

Serge Hallyn serge.hallyn at canonical.com
Thu Aug 30 12:48:25 UTC 2012


Quoting Dan Kegel (dank at kegel.com):
> Man, this has got to be an FAQ.
> 
> I'm merrily scripting buildbot setup inside a container, and tried to do
>   sudo lxc-start -n foo  sh my-existing-setup-script.sh

The answer to this *will* be lxc-attach.  We're just waiting for the
final kernel bits to filter upstream.

So yeah ssh is probably the most robust solution for now.

-serge




More information about the lxc-users mailing list