Questions tagged [lxc]
LXC short for (Linux Containers) LXC is an operating system-level virtualization method for running multiple isolated Linux systems (containers) on a single control host. LXC is the userspace control package for Linux Containers, a lightweight virtual system mechanism sometimes described as “chroot on steroids”.
100
questions
1
vote
0
answers
32
views
Is an unprivileged LXC where the host user itself is mapped to 0 less secure of one where one of its subids is mapped to 0, and why?
Instead of creating "common" LXC unprivileged containers where all the users are mapped to (unprivileged) subuid/gid of my host user, I'm considering a mapping where my host user itself will be mapped ...
1
vote
0
answers
6k
views
Configuring LXC containers to use a host bridge under CentOS 7
We're currently using the CentOS libvirt-LXC tool set for creating and managing containers under CentOS 7.1. This tool set is being deprecated though so we plan to change our containers to run under ...
3
votes
3
answers
5k
views
How do I export a lxc container?
Is it possible to export a lxc container to another machine? There are some tools like lxc-snap and lxc-clone will those help in exporting to another system? Can I copy paste the rootfs folder or is ...
4
votes
0
answers
769
views
How to create LXC templates?
I am trying to create an LXC template but I cannot find any documentation on what commands and options the script minimally needs to support. Is this in fact documented somewhere? The built-in ...
5
votes
2
answers
1k
views
How to detect an LXC container system is ready?
I am attempting to start a LXC container and then run a command inside it. The problem is that even if the container is in RUNNING state, it has not completed all its boot. This produces trouble with /...
1
vote
1
answer
4k
views
LXC: Automating running an application inside a container
I'm working on a project that automatically compiles, executes and tests the output of submitted programs in C, C++, Java and Python. Obviously this needs to happen inside some sort of secured ...
1
vote
1
answer
1k
views
What's the minimum overhead of a Linux container?
If I understand this correctly, a container, once running, shouldn't have any CPU overhead. Is that correct?
It does have a memory overhead. How big might that be? How would I measure it?
1
vote
1
answer
1k
views
Problems with installation libgd3:i386 on ubuntu container
I have a standard ubuntu container (14.04 LTS), created by:
lxc-create -B btrfs -t ubuntu -n xxx
On this container:
libgd3 was installed correctly:
LANG=EN_GB apt-get install -f libgd3
Reading ...
1
vote
1
answer
1k
views
How do I configure ipv6 on a LXC configured bridge?
I am trying to figure out how I can add IPv6 to lxcbr0 that LXC creates. The IPv4 could be configured in /etc/default/lxc-net but I find nothing about IPv6. Can this be done? I am running Ubuntu 14.10
1
vote
1
answer
501
views
"Booting" a lxc machine hangs
When I try to "boot" a lxc (linux container) machine it hangs on hardware detection. Can this be solved without removing the hardware detection from the boot sequence?