attach.c: lxc_attach: 710 failed to get the init pid
Posted on February 3, 2016 • 1 minutes • 72 words • Suggest Changes
I was hit by this error way to early today … (aka before the coffee)
root@server:~# 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.