On Sun, Jan 22, 2017 at 3:53 AM, jf <jfme...@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
_______________________________________________ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users