You are not logged in.

#1 2014-01-06 04:40:14

savithari
Member
From: Marietta, GA
Registered: 2012-01-28
Posts: 45

lxc, virtualbox and the whole stew

Friends:

Happy New Year to all.

Thank you for your help in advance.

I am running Arch Linux 64 bit under VirtualBox as a guest OS on a  Mac host.  It works well.

Allocated 4GB RAM to the guest OS.

I want to install lxc inside this VirtualBox-Arch guest.  I am trying to follow the guide at https://wiki.archlinux.org/index.php/Linux_Containers

With the Virtualbox setup the eth0 become enp0s3, so should I make any changes in this regard.

So anyone who has attempted to run lxc under virtual box, please help out as to any gotchas that I should look for.

Regards,
-N

Offline

#2 2014-01-06 11:04:40

esdaniel
Member
From: Paris
Registered: 2010-02-01
Posts: 59
Website

Re: lxc, virtualbox and the whole stew

I think you should take a look at Docker to help ease things a bit:
http://docs.docker.io/en/latest/installation/vagrant/
Also note comments in this recent post from CodePope:
http://codescaling.com/2014/01/02/oin-a … -snippets/

Offline

#3 2014-01-06 22:27:18

savithari
Member
From: Marietta, GA
Registered: 2012-01-28
Posts: 45

Re: lxc, virtualbox and the whole stew

I looked at the links for docker.

Isnt LXC more generic and we dont have to use docker in particular ?

I want to setup LXC inside the VM itself by hand.  The thing that confuses me is

Inside VirtualBox Arch is running and has a network enp0s3 interface.  The ip on that is 10.0.2.15.

But the bridge setup in the document confuses me.  If I setup the network as bridge, then who is giving out the ip's to the guest OS itself and to the LXC's ?

Broadly what does it mean to assign bridge inside of the guest OS ?

-N

Offline

Board footer

Powered by FluxBB