Unable to create LXC container on LFS
Hi,
I am trying to run a container ( Ubuntu ) on a LFS server using the LXC. Below are the details of my test setup for reference. Server Config CPU : AMD64 RAM : 32GB HDD : 1TB OS : LFS Version : 11.0 LXC Version: 4.0.0-devel Command : lxc-create --template download --name test Error Seen : Distribution: ubuntu Release: jammy Architecture: amd64 Using image from local cache Unpacking the rootfs --- You just created an Ubuntu jammy amd64 (20220323_20:07) container. To enable SSH, run: apt install openssh-server No default root or user password are set by LXC. lxc-create: test_ubuntu: parse.c: lxc_file_for_each_line_mmap: 129 Failed to parse config file "/usr/local/share/lxc/config/common.conf" at line "lxc.seccomp.profile = /usr/local/share/lxc/config/common.seccomp" lxc-create: test_ubuntu: parse.c: lxc_file_for_each_line_mmap: 129 Failed to parse config file "/usr/local/var/lib/lxc/test_ubuntu/config" at line "lxc.include = /usr/local/share/lxc/config/common.conf" lxc-create: test_ubuntu: tools/lxc_create.c: main: 317 Failed to create container test_ubuntu Am I missing any dependency, I have followed the following link in building the LXC and LXD on my LFS server. Ref : LXC : https://github.com/lxc/lxc/ |
You really don't provide enough information here to offer a solid answer. What do those referenced files contain?
|
The referenced files contain the steps I followed to build LXC from source, on my server.
|
All times are GMT -5. The time now is 05:11 AM. |