Hot answers tagged lxc
3
It should work, as long the interface is still up
ifconfig eth0 | grep UP
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
the bridge is a "switch" and it doesn't need to have one IP. But please check if you have firewall rules in eth0:
iptables -l -vnx
if rp_filter is off
cat /proc/sys/net/ipv4/conf/eth1/rp_filter
0
and if all fails, try ...
3
You may want to try xpra or NX, VNC, etc
Also take a look at VirtualGL if you want GL acceleration.
If you can share a directory with the host, you could then use mmap with xpra (would probably require a trivial path change unless it is /tmp/) which provide very significant memory improvements.
2
The command is systemctl to control the services under systemd
to disable the service from running next time: systemctl disable udevd.service
to stop the service currently running : systemctl stop udevd.service
Go through these doc links from the author of systemd
http://0pointer.de/blog/projects/systemd.html
...
2
A big thanks to Red Hat, I finally tracked down the reference documentation I was looking for in their documentation. I expect that there's no difference between Red Hat and other distros on this point.
https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Resource_Management_Guide/ch-Subsystems_and_Tunable_Parameters.html
2
cgroups is still quite in flux in the Linux kernel. Probably the best documentation is LWN's coverage, perhaps H-online or Kernelnewbies have something to say. Currently systemd is the most prolific user.
2
For future readers, I wrote this email to some colleagues of mine who are working with me on configuring LXC and figuring out the bridging.
Well, I spent most of the day today fussing with networking in LXC, and now things are a lot clearer, so I thought I’d pass on what I learned.
First is a couple of definitions so we know what we’re looking at (I ...
1
Yes it works.
It depends on your operating system on how to configure such a network setup in a way that the bridge is up and running after a reboot in that constellation.
From my experience:
SLES10 SP4: Works - do not use yast2
SLES11 SP2: Works - use mv to rename the bridge to something useful after setup with yast2
Ubuntu 10.04 LTS: Works only ...
1
This might shed some light: Virtual Ethernet device. Might giving you something like this: Sure you do not have some configuration under /var/lib/lxc/ with lxc.network.type = veth ?
grep -r 'veth' /var/lib/lxc/
1
I haven't gotten fully into LXC,
but i have setup multiple containers with there own static ip's in lan which provide internet services for some of my websites...
Maybe this can help, on what you want for yours.
I run multiple containers, like so,
ON HOST MACHINE I Edited The Host's File, Adding Each Container & Host Machine:
vi /etc/hosts
lxc ...
Only top voted, non community-wiki answers of a minimum length are eligible

