Stack Exchange network consists of 176 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I'm using Ubuntu 14.04 and have installed LXC normally. I've followed the official LXC documentation to set up unprivileged containers under a non-root user.
These don't seem to support LXC's autostart functionality. Has anyone worked around this?
I've written a small script to work around the issue, just follow the commented instructions.
Try put in /etc/rc.local:
/bin/su -c /usr/bin/lxc-autostart USER
Required, but never shown
4 years, 8 months ago
4 years ago