[lxc-users] Unprivileged Container Autostart

Mike Bernson mike at mlb.org
Sat Jan 3 20:12:38 UTC 2015


Here is /usr/local/bin/startunprivlx:
#!/bin/sh
cgm movepid all $1 $$
sudo -iH -u $2 -- lxc-start -n $3 -d


On 01/03/2015 12:17 PM, Nicholas J Ingrassellino wrote:
> I am trying to get unprivileged containers to autostart without success. The built-in mechanisms do not work nor does cron. I have Google'ed and found many people with the same issue but no solution
>
> Since this is such a common issue I take it there is no solution currently? That sounds odd to me but after pages and pages of search results no one seems to have figured it out.
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users



More information about the lxc-users mailing list