Linux Containers (LXC) is a program using Linux cgroup that let run multiple linux instances on one host.
2
votes
0answers
24 views
LXC apparmor profile limits executing scripts in /run/*
LXC is blocking a trusted container from running scripts in /run/*, how do I configure LXC to allow scripts to run here?
2
votes
2answers
68 views
Can I have a bridged interface without an IP?
I have 2 NICs: eth0 & eth1 on a host OS which runs some VMs (LXC) under it.
The hosts eth0 is connected to a private network and configured as the primary interface.
The hosts eth1 is connected ...
1
vote
0answers
38 views
vi hangs when run in /dev/console under LXC
I'm running an Arch Linux container from within lxc. The lxc-start command connects to the internal /dev/console, on which I have agetty running using the following command:
/sbin/agetty --noclear -a ...
2
votes
0answers
61 views
To what extent does LXC manage configuring the network interface in a container?
In the LXC config file we can specify an IP address for a container:
lxc.network.type=veth
lxc.network.link=br0
lxc.network.ipv4 = 10.1.0.35/16
lxc.network.flags=up
lxc.network.hwaddr= ...
1
vote
0answers
67 views
Network in LXC not forwading through a bridge
I've got an LXC container, on the host I've got a bridge between the LXC container and eth0.
The LXC container can ping it's Host 10.1.0.5, but can't ping the gateway of 10.1.0.2. The host is able to ...
1
vote
0answers
173 views
Using a bridge, an LXC container can't ping router, but the host OS can
I've got a virtual machine running under virtualbox, and in that virtual machine I've got an LXC container I'm trying to bridge to virtualbox's NAT interface:
------------- ----------- ...
2
votes
2answers
120 views
Extra bridge interfaces get added automatically
I have a bridge set up between eth0 and br0, the bridge works fine, but sometimes, for unknown reasons and circumstances, I keep getting these off vethXXXXXX interfaces added to the bridge. When this ...
1
vote
0answers
54 views
cgroups: blkio.weight doesn't seem to have the expected effect
I've got 2 LXC containers with these cgroup settings:
lxc.cgroup.blkio.weight = 200
lxc.cgroup.cpu.shares = 200
and
lxc.cgroup.blkio.weight = 800
lxc.cgroup.cpu.shares = 800
I have verified in ...
0
votes
1answer
67 views
LXC: How can I mount a drive/directory without restarting the container?
If I configure LXC's fstab and restart, there's no problem with the mount, but do I have to restart?
0
votes
1answer
282 views
LXC: How do I mount a folder from the host to the container?
I'm trying to mount a folder on the host to an LXC container.
The host has a folder /mnt/ssd/solr_data created (this is currently on the root filesystem, but later I'll mount an SSD drive there, so ...
2
votes
2answers
36 views
Reference documentation for cgroups (control groups) settings
I'm looking for some reference documentation to explain what each of the settings are, for each control group.
For example, there's cpuset.cpus, I think setting this to 0 means use all CPUs, setting ...
1
vote
0answers
138 views
lxc networking quesion
I have a similar requirement to the OP of this thread.
I want the following configuration:
-Physical host (PhyHost) reachable from the network at IP 10.1.101.89
-LXC container (LxcHost) ...
1
vote
0answers
33 views
lxc-unfreeze does not resume the guest if the host is rebooted
Does a guest that has been frozen with lxc-freeze survive a reboot of the host?
I.e. after rebooting the host, can the guest be unfrozen with lxc-unfreeze?
2
votes
0answers
181 views
SquashFS image as rootfs in LXC
Is it possible to use a SquashFS filesystem as an LXC rootfs? I can mount an ext3 image as a rootfs just by setting lxc.rootfs to the filename, but if it's any other type of image, lxc-start just says ...
5
votes
3answers
3k views
How to configure external IP addresses for LXC guests?
I'm exploring the LXC features in Ubuntu 12.04 and I really want to set up a network like this:
client1: 192.168.56.101/24
lxc-host: 192.168.56.102/24
guest1 192.168.56.201/24
guest2 ...
3
votes
2answers
976 views
Fast X for LXC guest on localhost?
How can I run X apps inside an LXC container efficiently?
ssh -Y guest
is too slow - there is no graphics acceleration with ssh -Y - everything has to travel over the virtual network with the ...
5
votes
1answer
915 views
How do I disable udevd in systemd?
I'm trying to boot a Fedora Rawhide LXC container from a Fedora 16 host, and it's not working - systemd just keeps dropping into emergency mode. Because udevd doesn't work in LXC containers, I thought ...
1
vote
1answer
245 views
How can I use Skype with lxc?
Under Scientific-linux?
https://en.wikipedia.org/wiki/LXC
I just want to separate Skype, because I don't trust it. We are using it only to call/chat with people, no file transfers!