[lxc-users] newbee to LXC and LXCFS

Fajar A. Nugraha list at fajar.net
Fri Mar 6 07:07:30 UTC 2015


On Fri, Mar 6, 2015 at 4:14 AM, Rajasekar Darapuram
<raj at robinsystems.com> wrote:
> The container created from scratch seems to work fine, but container whose
> rootfs is mounted from a dir is not working....
>
> Here are my logs...Please let me know


Have you read the config (/var/lib/lxc/container_name/config)
generated by the template?
Did you compare it with the one you create by hand?

In particular:
# Distribution configuration
lxc.include = /usr/share/lxc/config/ubuntu.common.conf

... and if you look at THAT file
# This derives from the global common config
lxc.include = /usr/share/lxc/config/common.conf

... which contains
# Lastly, include all the configs from /usr/share/lxc/config/common.conf.d/
lxc.include = /usr/share/lxc/config/common.conf.d/

... and the directory contains these files
# ls /usr/share/lxc/config/common.conf.d/
00-lxcfs.conf  README

-- 
Fajar


More information about the lxc-users mailing list