I was hit by this error way to early today … (aka before the coffee)


[email protected]:~# lxc-attach -n 100
lxc-attach: attach.c: lxc_attach: 710 failed to get the init pid

This is the Linux container (LXC) way of saying : the container is not running … The fix is complex, but ill share it anyway.

lxc-start -n 100

Then just go ahead and

lxc-attach -n 100

Now to wait for the coffee rush.