<div dir="ltr">Serge, et al,-<br><br>I was able to get the inner container started after I did two things.<br><br>First, I set this option in every container config:<br><br> lxc.mount.auto = cgroup<br><br>Second, I create the directory /lib/var/lxc in each container in which I created another nested container.<br>
<br>There is still a strange issue where starting a nested container with a command like bash fails to put me into a functioning console. The inner container seems to work at first, but then hangs when a command is entered.<br>
<br># lxc-create -n outer -t minimal<br># lxc-start -n outer -- bash<br>bash: cannot set terminal process group (-1): Inappropriate ioctl for device<br>bash: no job control in this shell<br>bash-4.2# mkdir /var/lib/lxc<br>
bash-4.2# lxc-create -n inner -t minimal<br>bash-4.2# lxc-start -n inner -- bash <br>bash: cannot set terminal process group (-1): Inappropriate ioctl for device<br>bash: no job control in this shell<br>bash-4.2# ls<br>
<seems to hang><enter key><br>lxc-start: Input/output error - failed to read<div><seems to hang><br><br>To work-around this, I had to start each container as a daemon, and without a bash command.<br><br>
# lxc-start -n outer -d<br># lxc-attach -n outer -- bash<br>bash-4.2# <div><br></div><div>And then that weird "cannot set terminal process group (-1): Inappropriate ioctl for device" error stopped showing up.</div>
<div><br></div><div>-Nels</div><div><br></div></div></div>