Destan Sarpkaya of life, production and consumption

Category: wiki

How to Start LXC at System Startup 18 Sep 2013

If you want an LXC instance to start at system startup you need to use something different than adding the lxc-start command into .bashrc since it requires sudo. You should add the command to /etc/rc.local file which is executed at startup as root. Note that because this file is executed as root you need to avoid putting sudo before the command. See the example:

Continue reading »