[Lxc-users] How to create a 32-bit container?

Kim C. Callis kim.callis at gmail.com
Mon Feb 11 03:29:24 UTC 2013


Ok, back to the original question... It would seem that lxc-centos does not
make use of the --arch switch to specify the architecture of the build. So
would it stand to be true that there is no way currently to create a 32-bit
container on a 64-bit host? Or could I get creative, load a 32-bit version
of Ubuntu via KVM/qemu, then build create a 32-bit version of centos, and
then tar up and move the directory to my 64-bit host? Or am I just burning
up cycles and destined to watch it blow up when I transfer it to the 64 bit
host?



On Sun, Feb 10, 2013 at 9:43 PM, Kim C. Callis <kim.callis at gmail.com> wrote:

> Actually, I believe that I have found the answer in the
> help.ubuntu.com/12.10/serverguide/lxc.html guide. It would seem that I
> can pass -a i386 to the creation of the lxc-create and should be good to
> go. I will give that a try and see if that works!
>
>
> On Sun, Feb 10, 2013 at 9:39 PM, Kim C. Callis <kim.callis at gmail.com>wrote:
>
>> I am still playing around with the centos container, and was curious is
>> if I could make a 32-bit container even if it being built on a 64-bit
>> host?
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20130210/d223dc88/attachment.html>


More information about the lxc-users mailing list