[lxc-users] old Ubuntu 8.04 container, /sbin/init fails
Fajar A. Nugraha
list at fajar.net
Sun Jan 22 07:40:13 UTC 2017
On Sun, Jan 22, 2017 at 3:53 AM, jf <jfmeteo at gmail.com> wrote:
> Thanks for the help.
> So what I miss is how to debug /sbin/init in a container ?
> I saw that lxc-start has an extra argument to execute the init command
> like lxc-start -n container /sbin/init.
>
lxc-start will run /sbin/init by default.
What you're looking for is probably "lxc-start -f", which force the
container to stay in foreground.
> But I'm using lxd and didn't find any equivalent command for lxc start.
>
>
I don't think there's any. Use lxc to develop new images. Images created
for lxc should work on lxd as well.
--
Fajar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20170122/eac7a569/attachment.html>
More information about the lxc-users
mailing list