2012/3/6 陈竞 cj.mag...@gmail.com:
I see that we can start a ubuntu in a lxc. So when ubuntu do block io
operation, what does it really do, since it does not simulate hardware?
All OS running in lxc containers shares the same kernel with the
host. The kernel performs the necessary i/o operation.
On Wed, Mar 7, 2012 at 10:45 AM, Serge Hallyn
serge.hal...@canonical.com wrote:
Quoting Fajar A. Nugraha (l...@fajar.net):
# cat /etc/init/lxc-lo.conf
start on startup
env container
pre-start script
if [ x$container != xlxc -a x$container != xlibvirt ];
then
stop
2012/3/7 陈竞 cj.mag...@gmail.com:
i start a container with virtual network without configuring route, i
wonder if i can configure route table according to
lxc configure file or changing some file in host os. i dont want to execute
route command in lxc.
IMHO it's easier to:
- create bridged
2012/3/7 陈竞 cj.mag...@gmail.com:
we know that we can start sshd in system container.
You mean the host?
However can we start
sshd in application container?
You mean the guest? Sure.
since the application container has virtual network configuration.
Just start it like you usually do from
2012/3/7 Miroslav Lednicky miroslav.ledni...@fnusa.cz:
Hello,
i have question about LXC in Ubuntu.
Is it possible to do upgrade system inside LXC?
From 10.04 to 12.04 for example.
If you can upgrade it on a normal installation, then you should be
able to do it inside lxc.
Did
On Thu, Mar 8, 2012 at 9:07 AM, Allen Elliott allen303al...@gmail.com wrote:
在 2012年3月7日星期三,Mauras Olivier oliver.mau...@gmail.com 写道:
On Wed, Mar 7, 2012 at 3:16 PM, Allen Elliott allen303al...@gmail.com
It seems fine most of time, except the connection, I can't connect to
the guest OS from
2012/3/8 陈竞 cj.mag...@gmail.com:
i am running gentoo in my host
What kernel are you using? Ubuntu precise uses 3.2, which works just
fine. Gentoo should have latest stable available as well.
--
Fajar
--
Virtualization
On Fri, Mar 9, 2012 at 10:34 AM, Thaddeus Hogan thadd...@thogan.com wrote:
When I start this container everything is working fine. However I don't
want my containers in /var/lib/lxc (ext4 fs) so I copy the rootfs to a
btrfs volume mounted to /vm, into a subvolume that shares its name
with the
On Sat, Mar 10, 2012 at 6:57 PM, carlopmart carlopm...@gmail.com wrote:
Hi all,
I am trying to install a centos 6.2 container under centos 6.2 host
using libvirt and virt-manager. I have selected OS Container option,
but when I try to launch this guest virt-manager returns me this error:
On Sat, Mar 10, 2012 at 10:11 PM, carlopmart carlopm...@gmail.com wrote:
Many thanks Fajar. I am trying to build a new CentOS 6 image, but when I
try to launch my lxc guest via virt-manager stops in Enabling
/etc/swaps: [OK] ... and no go.
My lxc guest fstab is:
rootfs /
On Sun, Mar 11, 2012 at 6:02 AM, Fajar A. Nugraha l...@fajar.net wrote:
On Sat, Mar 10, 2012 at 10:11 PM, carlopmart carlopm...@gmail.com wrote:
Many thanks Fajar. I am trying to build a new CentOS 6 image, but when I
try to launch my lxc guest via virt-manager stops in Enabling
/etc/swaps
On Sun, Mar 11, 2012 at 3:08 AM, Papp Tamas tom...@martos.bme.hu wrote:
Are these questions or requests somehow not good?
I'm really interested in them:)
I'm guessing that while your suggestions are vallid, most of which are
related to guest creation and the template scripts. Since the existing
On Wed, Mar 14, 2012 at 2:04 AM, Serge Hallyn
serge.hal...@canonical.com wrote:
Quoting Papp Tamas (tom...@martos.bme.hu):
One more, I think very important question.
Still there is no nice stop method in init configuration:
for f in /etc/lxc/auto/*; do
c=$(basename $f .conf)
On Wed, Mar 14, 2012 at 1:49 PM, Daniel Baumann
daniel.baum...@progress-technologies.net wrote:
On 03/14/2012 02:37 AM, Serge Hallyn wrote:
That unfortunately won't work with upstart in the host and guest.
too bad then.
since i have absolutely no clue about upstart at all.. i just hope there
On Wed, Mar 14, 2012 at 1:58 PM, Fajar A. Nugraha l...@fajar.net wrote:
On Wed, Mar 14, 2012 at 1:49 PM, Daniel Baumann
daniel.baum...@progress-technologies.net wrote:
On 03/14/2012 02:37 AM, Serge Hallyn wrote:
That unfortunately won't work with upstart in the host and guest.
too bad
On Wed, Mar 14, 2012 at 3:17 PM, Jäkel, Guido g.jae...@dnb.de wrote:
Dear Fajar,
i just googled http://www.makelinux.net/man/7/P/power-status-changed .
There's written:
This event is not handled in the default Upstart configuration.
For control-alt-delete, the corresponding
On Thu, Mar 15, 2012 at 10:02 AM, Serge Hallyn
serge.hal...@canonical.com wrote:
On 03/14/2012 03:23 AM, Fajar A. Nugraha wrote:
On Wed, Mar 14, 2012 at 3:17 PM, Jäkel, Guidog.jae...@dnb.de wrote:
Dear Fajar,
i just googled http://www.makelinux.net/man/7/P/power-status-changed .
There's
On Thu, Mar 15, 2012 at 7:44 PM, Goran Cetusic goran.cetu...@gmail.com wrote:
I have problems with starting containers in Linux Mint Debian Edition
because /dev/cgroup/cpu is mounted by itself.
lxc-start: cgroup is not mounted
lxc-start: failed to setup the cgroups for 'imunes'
lxc-start:
On Thu, Mar 15, 2012 at 10:18 PM, Goran Cetusic goran.cetu...@gmail.com wrote:
Found the culprit in...wait for it...rc.local!
Also, there are commands in /etc/bash.bashrc that reference the mounted
folders so an error pops up whenever you open bash:
/etc/bash.bashrc: mkdir -p -m 0700
On Fri, Mar 16, 2012 at 9:58 AM, Sam Wang zhefw...@gmail.com wrote:
First,I add a bridge in my computer,and the bridge IP is 10.0.2.15
How?
lxc.network.link=br0
Is this the correct brige?
lxc.network.ipv4=10.0.2.16/24
Not sure about this one. Personally I just run a dhcp server on the
host
On Mon, Mar 19, 2012 at 7:05 AM, Daniel Lezcano daniel.lezc...@free.fr wrote:
On 03/19/2012 12:00 AM, Serge Hallyn wrote:
Hi,
Thanks to Jäkel's and Fajar's great ideas, we can now cleanly shut down
a container by sending it SIGPWR. I'm attaching two ways to do that.
In-line is a patch
2012/3/19 Sam Wang zhefw...@gmail.com:
My need is that I want to use lxc-execute to start an application container
to execute an application which need a unique IP address.
Most applications can bind to a specific IP address only :)
I have tried using bridge but the application can only
On Thu, Mar 8, 2012 at 1:16 AM, Stéphane Graber stgra...@ubuntu.com wrote:
I hope this helped explain what we're doing in 12.04.
I'm planning on a generic what's new in LXC for 12.04 blog post in
the next few days, once we've turned apparmor back on and have
somewhat secure containers again
2012/3/20 陈竞 cj.mag...@gmail.com:
lxc can support control block io, cpu and memory, can lxc support
controlling network io?
If by control you mean throttle the bandwidth, then AFAIK no. As
in, no, cgroups (and thus lxc) can't throttle network I/O.
However since the most common implementation
On Tue, Mar 20, 2012 at 8:11 PM, Serge Hallyn
serge.hal...@canonical.com wrote:
Quoting Fajar A. Nugraha (l...@fajar.net):
I just updated lxc on 12.04 to 0.7.5-3ubuntu40, which reenables
apparmor profile. My previously-working lxc containers now refused to
start.
It's possible you're
On Tue, Mar 27, 2012 at 6:16 PM, Peter Gillard-Moss
pgill...@thoughtworks.com wrote:
Hello,
I wondered if you could help.
I have installed lxc-init from the Ubuntu package repos for both Natty and
Oneiric and both fail on lxc-execute with the same error.
Versions used are 0.7.4-0ubuntu7.2
On Fri, Mar 30, 2012 at 2:30 AM, Arun M arunmahadevai...@gmail.com wrote:
Hello,
I have a set up where there are multiple short lived containers (sharing the
same IP address) in a host.
Why? Don't do that.
When a TCP connection is established from the container to an outside host
(in a
On Wed, Apr 18, 2012 at 2:43 AM, Serge Hallyn
serge.hal...@canonical.com wrote:
Quoting Daniel Stefaniuk (daniel.stefan...@gmail.com):
Then the container seems to bu up and running. However, if I try to login
to that
container using lxc-console I get only this message Type Ctrl+a q to
exit
On Thu, Apr 19, 2012 at 7:36 PM, Daniel Stefaniuk
daniel.stefan...@gmail.com wrote:
I use Ubuntu 10.04 LTS amd64 server (custom kernel 3.3.2) for the host and
containers.
That would probably be one source of your problem :)
The upcoming ubuntu 12.04 pretty much works out-of-the-box as lxc host
On Fri, Apr 20, 2012 at 3:05 PM, Papp Tamas tom...@martos.bme.hu wrote:
hi,
There is this bug:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/986043
Has anybody meet it ever? Does anybody have an idea?
Not in my setup.
$ ifconfig br0
br0 Link encap:Ethernet HWaddr
On Fri, Apr 20, 2012 at 3:05 PM, Papp Tamas tom...@martos.bme.hu wrote:
hi,
There is this bug:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/986043
Has anybody meet it ever? Does anybody have an idea?
Not in my setup.
$ ifconfig br0
br0 Link encap:Ethernet HWaddr
2012/4/25 Sam Wang zhefw...@gmail.com:
In lxc templates directory,I've found lxc-ubuntu,lxc-fedora...but
there is no Redhat template.
who can tell me where can I find a Redhat template?
thanks a lot.
I don't think there is one. Mainly because you can only download
software from RHN if you
On Fri, Apr 27, 2012 at 5:31 PM, István Király - LaKing d...@yahoo.com wrote:
Hi folks.
I know lxc-start is sensitive from where it is called. Like for example, it
doesn't like to be called from mc's shell. ..
I'm am trying to start a container via ssh. ..
Somehow I managed to create a
On Fri, Apr 27, 2012 at 5:36 PM, Matthijs Kooijman matth...@stdin.nl wrote:
Hi István,
Somehow I managed to create a shell script that can start it, but for some
reason executing the command directly via ssh does not work.
lxc-start -n fc14 -o /temp/fc14.log -s lxc.console=/temp/fc14.sys
On Tue, May 8, 2012 at 12:28 PM, Serge Hallyn
serge.hal...@canonical.com wrote:
Quoting Fajar A. Nugraha (l...@fajar.net):
Hi Serge,
Quick confirmation: does this mean that currently the default ubuntu
lxc combo (userland, kernel, apparmor, etc) in ubuntu precise is
broken, but are being
On Wed, May 9, 2012 at 4:26 PM, 张章 zhang_zh...@live.com wrote:
hello
i have configured the lxc with basic settings like this:
lxc.ustname = lxc1
lxc.network.type = veth
lxc.network.flags = up
lxc.network.link = br0
lxc.network.name = eth0
lxc.network.ipv4 =
On Thu, May 10, 2012 at 8:17 AM, 张章 zhang_zh...@live.com wrote:
Many thanks
I switch to Ubuntu 12.04 and use lxc-ubuntu to prepare my filesystem. Then I
add the network part to config file like:
lxc.utsname = amd64
lxc.tty = 4
lxc.pts = 1024
lxc.rootfs = /lxc/rootfs
lxc.mount =
On Tue, May 8, 2012 at 12:40 PM, Fajar A. Nugraha l...@fajar.net wrote:
On Tue, May 8, 2012 at 12:28 PM, Serge Hallyn
serge.hal...@canonical.com wrote:
Also, a quick test on my setup (ubuntu precise amd64,
linux-image-3.2.0-24-generic 3.2.0-24.37, lxc 0.7.5-3ubuntu53) shows
freshly created
On Fri, May 11, 2012 at 9:54 AM, 张章 zhang_zh...@live.com wrote:
hello,all
I have tried starting linux container(lxc 0.7.5) on lucid and red hat 6, but
both failed (succeeded in ubuntu precise)
If a linux environment has recent-enough kernel and lxc userland
tools, it should work. So if you're
On Mon, May 14, 2012 at 11:48 PM, jeetu.gol...@gmail.com
jeetu.gol...@gmail.com wrote:
Are there other similar instances where I should make specific mention
in the config file in order to prevent accidental and inadvertent
sharing of resources between host and container?
Try creating a
On Tue, May 15, 2012 at 10:22 AM, jeetu.gol...@gmail.com
jeetu.gol...@gmail.com wrote:
Hi Fajar,
Thanks for your response.
I used the debian template and the config file does not (as far as I
can tell) have any network related stanzas. Unfortunately this default
behaviour lead to the
On Fri, Jun 8, 2012 at 2:58 PM, Daniel Lezcano daniel.lezc...@free.fr wrote:
On 06/07/2012 12:45 PM, Jan Den Ouden wrote:
Hi,
About a week ago I posted exactly the same question on this list, but I
didn't get any responses. I have googled high and low for the answer to
this, but no result.
On Fri, Jun 8, 2012 at 8:47 PM, Stéphane Graber stgra...@ubuntu.com wrote:
On 06/08/2012 04:27 AM, Fajar A. Nugraha wrote:
On Fri, Jun 8, 2012 at 2:58 PM, Daniel Lezcano daniel.lezc...@free.fr
wrote:
On 06/07/2012 12:45 PM, Jan Den Ouden wrote:
Hi,
About a week ago I posted exactly
On Sat, Jun 9, 2012 at 7:39 PM, Sébastien Montagne
sebastien.monta...@gmail.com wrote:
Hi dears,
do you think it would be easy/hard/not possible
to setup a container with an IPv4 address (optionnaly with an IPv6 address
as well)
in a IPv6-only (i.e. without an IPv4 address) main system ?
Please keep cc to the list
On Sun, Jun 10, 2012 at 1:42 PM, Vasiliy Molostov molost...@gmail.com wrote:
On Sun, Jun 10, 2012 at 3:24 AM, Vasiliy Molostov molost...@gmail.com
wrote:
It shouldn't be related to apparmor. It MIGHT be related to bridge
forwarding delay though.
You didn't say
On Tue, Jun 12, 2012 at 2:16 AM, Sébastien Montagne
sebastien.monta...@gmail.com wrote:
Now trying to setup it correctly ;)
Sorry for annoying you again, but I couldn't make it work...
Maybe someone could help ?
My problem :
I can't ping my gateway 91.121.99.254 from my container
On Tue, Jun 12, 2012 at 12:23 PM, Sébastien Montagne
sebastien.monta...@gmail.com wrote:
It seems that ARP reply is not seen in guest's eth0...
Well, fix that :)
Guest netstat -nr :
# netstat -nr
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window
On Tue, Jun 12, 2012 at 12:59 PM, Sébastien Montagne
sebastien.monta...@gmail.com wrote:
No firewall on my system.
Are you sure? :)
RHEL-derivates have iptables turned-on by default, and the default
setup also filters bridged traffic.
It is a hosted server ; I have only 1 available IPv4
.
--
Fajar
On Sat, Jun 9, 2012 at 6:56 PM, Stéphane Graber stgra...@ubuntu.com wrote:
On 06/09/2012 06:38 AM, Fajar A. Nugraha wrote:
However the apparmor problem might not seem obvious because there's no
apparmor warning on syslog when you try to set shmmax with apparmor
enabled. Also
On Wed, Jun 13, 2012 at 2:00 PM, Fajar A. Nugraha l...@fajar.net wrote:
I suggest you try ubuntu precise (with its kernel 2.6.32). Possibly on
your workstation first (e.g. with virtualbox/kvm).
I meant kernel 3.2
--
Fajar
On Fri, Jun 15, 2012 at 7:26 PM, John Maclean jaye...@gmail.com wrote:
Hello all,
I have built lxc from the git hub repo and have been able to create
containers using the stock templates for fedora. However, whenever I
start a container it always locks the hosts, X session.
a - How can i
On Tue, Jun 19, 2012 at 10:16 AM, Ken Elkabany k...@elkabany.com wrote:
Hello,
I have a Ubuntu Precise host, where I created a few test containers using
the following commands:
lxc-create -n env3 -t ubuntu -- -r precise
lxc-create -n env4 -t ubuntu -- -r natty
lxc-create -n env5 -t ubuntu
On Tue, Jun 19, 2012 at 8:43 PM, Papp Tamas tom...@martos.bme.hu wrote:
On 06/19/2012 03:30 PM, Jonathan Carter (highvoltage) wrote:
Hi Papp
On 19/06/2012 08:52, Papp Tamas wrote:
I created a group for LXC on linkedin. If I see well, there is no other
group, like this.
Is a project logo
On Mon, Jun 25, 2012 at 11:41 PM, Johannes Graumann
johannes_graum...@web.de wrote:
Hello,
Is there an authoritative lxc-template repository somewhere
Authoritative? Not that I lnow of
and/or does a
template for the latest incarnation of CentOS exist?
You can easily make one yourself:
On Mon, Jul 2, 2012 at 4:50 PM, zorg z...@probesys.com wrote:
Hello
I seem that it is possible to use openvpn in a container
But can't make it work
I try this
DEV=${CONTAINER_ROOT}/dev
mkdir ${DEV}/net
mknod -m 666 c 10 200 ${DEV}/net/tun
But I get this error
mknod: invalid device type
On Tue, Jul 3, 2012 at 7:13 PM, Stefan Schlesinger s...@ono.at wrote:
Hello,
yesterday we did some testing of LXC on wheezy as well and got the
same results.
Seems like the necessary device nodes aren't created (/dev/tty*)
and /etc/inittab needs to be modified.
Example:
On Fri, Jul 6, 2012 at 5:50 PM, Li, Zeyang a.bankn...@gmail.com wrote:
I remember reading post that says that in order to run lxc-execute, I
have to have lxc installed on the client.
Do you use lxc-execute, or lxc-start? There's a BIG difference.
You don't need lxc on the guest for lxc-start
On Thu, Jul 19, 2012 at 2:03 PM, Johannes Graumann
johannes_graum...@web.de wrote:
Hi,
The filesystem package is part of a centos base installation and is
uninstallable in an lxc container (see pasted output below) due to lacking
access rights to /sys ... I'm not sure that this is even
On Fri, Jul 20, 2012 at 2:27 AM, Johannes Graumann
johannes_graum...@web.de wrote:
Also, how do you create your container? If you use templates, yum
--installroot, or similar, then the package should already be
installed.
I modified the debian-supplied fedora template (and posted it to this
On Mon, Jul 23, 2012 at 3:40 PM, Johannes Graumann
johannes_graum...@web.de wrote:
Thanks for your hints ... I have investigated this some more and the problem
is that filesystem actually get's installed via the host, but once the
guest is running it is missing the yum data base on what is
On Mon, Jul 23, 2012 at 6:15 PM, Johannes Graumann
johannes_graum...@web.de wrote:
On the container /var/lib/rpm is now empty
That is not right. It might be the source of your problem. Try
yum --installroot=/some/path/of/your/choice groupinstall base
... and verify whether /var/lib/rpm under
On Tue, Jul 24, 2012 at 4:20 AM, Fajar A. Nugraha l...@fajar.net wrote:
On Mon, Jul 23, 2012 at 6:15 PM, Johannes Graumann
johannes_graum...@web.de wrote:
On the container /var/lib/rpm is now empty
That is not right. It might be the source of your problem. Try
yum --installroot=/some/path
On Mon, Jul 30, 2012 at 2:52 AM, Daniel Baumann
daniel.baum...@progress-technologies.net wrote:
I cannot believe that lxc is that immature. I may surely be missing a lot of
things, or is the Debian packaging of lxc such a pity?
you are using debian testing, it's not called testing without
On Mon, Jul 30, 2012 at 9:59 AM, calerius D'Souza caler...@gmail.com wrote:
I have a service that is running inside container perfectly. I had deployed
it using node.js package manager (npm). Now I wanted to run the service on
the host itself instead of the container due to some disk space
On Fri, Aug 10, 2012 at 9:13 PM, Klemens Rauch
klemens.ra...@rolmail.net wrote:
as it looks know, wheezy will not get live-debconfig due to
bureaucratic
unwillingness of some debian people, i tried, but nothing i can do
further about that i'm afraid. so, wheezy will as it looks like
On Mon, Aug 13, 2012 at 3:17 PM, Xia Li x...@suse.com wrote:
Hi,
I'm a beginner with LXC and I have two questions about LXC. I hope someone
can help...
1. If all LXC containers are running inside the host system's Kernel and not
with a different Kernel?
Yes.
I am now use LXC to
Creating a container with lxc-create -t ubuntu on ubuntu 12.04 amd64
currently results in over 300MB root filesystem. However, almost
100MBs of it are cached package files (/var/cache/apt/archives/*).
Running apt-get clean freed it.
Is there a particular reason to keep the package files after
On Thu, Aug 16, 2012 at 8:57 PM, Serge Hallyn
serge.hal...@canonical.com wrote:
Quoting Fajar A. Nugraha (l...@fajar.net):
Creating a container with lxc-create -t ubuntu on ubuntu 12.04 amd64
currently results in over 300MB root filesystem. However, almost
100MBs of it are cached package
On Fri, Aug 24, 2012 at 7:00 AM, Dan Kegel d...@kegel.com wrote:
Hi folks,
has anyone written a /usr/lib/lxc/templates/lxc-rhel yet?
AFAIK no. But see :
- http://www.mail-archive.com/lxc-users@lists.sourceforge.net/msg03761.html
and
On Fri, Aug 24, 2012 at 6:12 PM, István Király - LaKing d...@yahoo.com wrote:
Hello users, and mainly developers, ..
My question is, how reliable, how stable is LXC in a production environment?
.. how far is LXC from being released as stabile 1.0?
As a user, I'd say lxc is usable for
On Fri, Aug 24, 2012 at 6:37 PM, China ch...@email.it wrote:
Often, after some hours, the containers occupy a lot of SLAB cache (over
100~200MB), specially dentry and ext3_inode_cache.
Try this: http://www.linuxinsight.com/proc_sys_vm_vfs_cache_pressure.html
I set mine at 1000 for a system
On Fri, Aug 24, 2012 at 8:27 PM, István Király - LaKing d...@yahoo.com wrote:
I would rather like to have a virtual-server farm or better said lxc
container-farm, as soon as possible. ..
If you control all the VPS in the farm, lxc might be usable.
Otherwise, openvz might be a better choice.
On Sat, Aug 25, 2012 at 4:26 AM, Dan Kegel d...@kegel.com wrote:
lxc-start: failed to rename vethMR2TXx-eth0 : File exists
What does your config file looks like?
It looks like you're telling lxc to label the container's network
device in the HOST (lxc.network.veth.pair) as eth0. Which
On Sat, Aug 25, 2012 at 8:48 AM, Dan Kegel d...@kegel.com wrote:
On Fri, Aug 24, 2012 at 6:23 PM, Fajar A. Nugraha l...@fajar.net wrote:
On Sat, Aug 25, 2012 at 4:26 AM, Dan Kegel d...@kegel.com wrote:
lxc-start: failed to rename vethMR2TXx-eth0 : File exists
What does your config file looks
On Sat, Aug 25, 2012 at 9:22 AM, Dan Kegel d...@kegel.com wrote:
On Fri, Aug 24, 2012 at 7:00 PM, Fajar A. Nugraha l...@fajar.net wrote:
Aren't the default templates supposed to work with the default config file?
It should. Which is why I thought you edit the config file. Try:
- adding
On Sun, Aug 26, 2012 at 3:06 AM, Dan Kegel d...@kegel.com wrote:
Trying the same thing with your centos template:
cd /usr/lib/lxc/templates/
wget
https://raw.github.com/fajarnugraha/lxc/centos-template/templates/lxc-centos.in
mv lxc-centos.in lxc-centos
lxc-create -t centos -n
On Sun, Aug 26, 2012 at 11:09 AM, Dan Kegel d...@kegel.com wrote:
The default networking config section from lxc-fedora (upstream
version), when used in Ubuntu host would add an additional interface
in the container (because it's basically a separate, additional
networking section) and will
On Sun, Sep 2, 2012 at 4:56 PM, groupie stopmakingse...@gmx.de wrote:
Hi list!
I just came over the fact that the iptables config set in the lxc-net
upstart job does also rewrite connections between hosts on the bridge. I
added a rule before the masquerade to prevent this and make sure, that
On Fri, Sep 7, 2012 at 11:29 AM, Peter-Frank Spierenburg
spier...@hotmail.com wrote:
Anyway, I am having trouble convincing the lxc guests to talk to the network
outside the box hosting the vm hosting the container.
If you use latest ubuntu it'll work out of the box.
I've also got iptables
On Fri, Sep 7, 2012 at 7:46 AM, Ken Elkabany k...@elkabany.com wrote:
Hi,
The following outputs container state changes to the terminal as expected:
$ lxc-monitor -n container-1
However, the following outputs the same state changes to a file only after a
certain buffer size has been
On Fri, Sep 14, 2012 at 9:27 PM, Peter-Frank Spierenburg
spier...@hotmail.com wrote:
Greetings,
Whenever I try to ssh into an lxc container on Ubuntu 12.04, I get:
ssh_exchange_identification: Connection closed by remote host
using lxc-console to access the container, and checking the
On Thu, Sep 20, 2012 at 10:02 AM, Binknight zheng_hua...@163.com wrote:
hi all,
After searching for a while, I found there are many different
introductions to install lxc container, but do not find a step by step
tutorial that works for general purpose.
At this moment using Ubuntu 12.04
On Fri, Sep 21, 2012 at 9:16 PM, Binknight zheng_hua...@163.com wrote:
many thanks,
I edit the container's /etc/rc.d/rc.sysinit and add :
route add default gw 192.168.122.1 # address of virbr0
echo /etc/resolv.conf nameserver 10.2.0.41 #name server the same as
that in HOST's
Why not just use veth + bridge, which is the default (at least the
default on Ubuntu)?
--
Fajar
On Mon, Sep 24, 2012 at 1:48 PM, 宣铭艺 xuanmin...@gmail.com wrote:
Hi guys
I have a host machine and want to create 3 containers on it.
Containers should can ping each other,but can't communicate
) and use DHCP on the guest container.
--
Fajar
2012/9/24 Fajar A. Nugraha l...@fajar.net
Why not just use veth + bridge, which is the default (at least the
default on Ubuntu)?
--
Fajar
On Mon, Sep 24, 2012 at 1:48 PM, 宣铭艺 xuanmin...@gmail.com wrote:
Hi guys
I have a host machine
On Wed, Sep 26, 2012 at 7:59 PM, 宣铭艺 xuanmin...@gmail.com wrote:
yes I used static ip.
I seted the static ip 10.0.0.2 in the config file.
It can't ping www.google.com
Read my previous response about don't know much about networking or bridge.
Today
I don't set the static ip?Will that use
On Mon, Oct 8, 2012 at 11:04 AM, Binknight zheng_hua...@163.com wrote:
I want to setup nginx service on the container, so the container should be
visible to other hosts as well as the HOST it lives. The HOST machine's ip
is 10.2.132.110.
so is it possible to setup an ip for container that's
On Sat, Oct 20, 2012 at 8:12 PM, C. L. Martinez carlopm...@gmail.com wrote:
Hi all,
Somebody knows where can I found an Oracle Linux 6.3 template to use
with a OL6.3 host using UEK2 kernel??
Short answer: No
Or can I re-use OL5 template??
... and No.
Long answer:
See this thread:
On Sun, Oct 21, 2012 at 3:42 PM, C. L. Martinez carlopm...@gmail.com wrote:
Hi all,
I have setup my first OL6 container but it doesn't starts.
How?
lxc-start 1350808610.466 WARN lxc_conf - rootfs specified
but no console found at '/usr/lib64/lxc/rootfs/dev/console'
Does
On Sun, Oct 21, 2012 at 3:46 PM, Fajar A. Nugraha l...@fajar.net wrote:
lxc-start 1350808610.466 WARN lxc_conf - rootfs specified
but no console found at '/usr/lib64/lxc/rootfs/dev/console'
Does /usr/lib64/lxc/rootfs/dev/console exists?
Sorry. It should be does /dev/console exists
On Sun, Oct 21, 2012 at 4:14 PM, C. L. Martinez carlopm...@gmail.com wrote:
On Sun, Oct 21, 2012 at 8:51 AM, Fajar A. Nugraha l...@fajar.net wrote:
On Sun, Oct 21, 2012 at 3:46 PM, Fajar A. Nugraha l...@fajar.net wrote:
lxc-start 1350808610.466 WARN lxc_conf - rootfs specified
On Sun, Oct 21, 2012 at 4:23 PM, C. L. Martinez carlopm...@gmail.com wrote:
On Sun, Oct 21, 2012 at 9:20 AM, Fajar A. Nugraha l...@fajar.net wrote:
--
No, problem continues ... I have used this template to create my lxc
container:
In that I says use the unmodified config file first
On Sun, Oct 21, 2012 at 4:41 PM, C. L. Martinez carlopm...@gmail.com wrote:
If you HAVE used the default config file created by the template, but
it still doesn't work, you should probably contact the template
creator directly (it's on top of the template file) and ask them how
to use the
On Mon, Oct 22, 2012 at 5:11 PM, swair shah swairs...@gmail.com wrote:
I have a container running centos 6, on a host system also running centos 6.
I have allocated a different subnet for containers and I'm able to ping the
container.
Now when I try to ssh into the container from another
On Mon, Oct 22, 2012 at 5:26 PM, swair shah swairs...@gmail.com wrote:
Do I need to make any specific changes to the tty conf in the container?
Do you have /dev/pts directory inside the container? What files are in
there?
/dev/pts has
crw--w 1 roottty 136, 0 Oct 22 15:54 0
On Thu, Oct 25, 2012 at 4:11 PM, 宣铭艺 xuanmin...@gmail.com wrote:
Dear all:
The problem is that,how can we limit the disk space in lxc.Now I use the
default config.
And the container can access all space in host.can we use lvm or other tools
to limit it?
And how :)
simplest solution: place
On Thu, Oct 25, 2012 at 9:07 PM, Serge Hallyn
serge.hal...@canonical.com wrote:
Quoting Fajar A. Nugraha (l...@fajar.net):
On Thu, Oct 25, 2012 at 4:11 PM, 宣铭艺 xuanmin...@gmail.com wrote:
Dear all:
The problem is that,how can we limit the disk space in lxc.Now I use the
default config
On Sun, Oct 28, 2012 at 1:36 AM, Whit Blauvelt w...@transpect.com wrote:
I have this notion that it might be simple indeed to set this up.
Sure it is. Well, kindof :)
But that
notion is admittedly foggy. If it is simple, is there a guide to this sort
of thing somewhere? I see a template for
On Mon, Oct 29, 2012 at 5:22 PM, Kalyana sundaram kalyan...@gmail.com wrote:
Hi
I am pretty new to lxc
I have set up lxc centos containers on centos host. The centos host is
connected to our private network (vlan id 211)
What do you use on the host? eth0, or eth0.211?
How could I make
On Wed, Oct 31, 2012 at 12:39 AM, brian mullan bmullan.m...@gmail.com wrote:
Kalyana Fajar
I know this answer isn't about VLAN specifically but it might interest you.
I'd stumbled upon it a few weeks ago and the title was
Connecting containers on several hosts with Open vSwitch
1 - 100 of 147 matches
Mail list logo