[lxc-users] lxc containers on mixed systems
Bhasker C V
bhasker at unixindia.com
Thu Oct 1 16:53:11 UTC 2015
Hi,
My system is i386 (binutils) but my kernel is amd64
I want to create a container which will be amd64 arch. I get an error
------------------ lxc-create -n debian -t debian -- -a amd64 ----------------
can't create amd64 container on i386
lxc_container: lxccontainer.c: create_run_template: 1125 container
creation template for debian failed
lxc_container: utils.c: _recursive_rmdir_onedev: 99
_recursive_rmdir_onedev: failed to delete /VIRT/LXC/debian
lxc_container: lxccontainer.c: lxcapi_destroy: 2088 Error destroying
container directory for debian
lxc_container: lxc_create.c: main: 271 Error creating container debian
on the other hand when I create an i386 container it gets created
successfully but during run time it fails as below
------------- lxc-start -n debian -----------------------
lxc-start 1443717525.054 ERROR lxc_seccomp -
seccomp.c:get_new_ctx:167 - Seccomp error -17 (Unknown error -17)
adding arch: 2
lxc-start 1443717525.054 ERROR lxc_start -
start.c:lxc_init:382 - failed loading seccomp policy
lxc-start 1443717525.054 ERROR lxc_start -
start.c:__lxc_start:1045 - failed to initialize the container
lxc-start 1443717525.054 ERROR lxc_start_ui -
lxc_start.c:main:342 - The container failed to start.
lxc-start 1443717525.054 ERROR lxc_start_ui -
lxc_start.c:main:346 - Additional information can be obtained by
setting the --logfile and --logpriority options.
Either ways lxc does not work. I am however able to use kvm and create
hvm (x86_64)
Is there a way out ?
More information about the lxc-users
mailing list