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 ...

learn more… | top users | synonyms

1
vote
2answers
149 views

syslog-ng fails to log on lxc host

we are running CentOS 6 servers with multiple lxc-containers. For system logging we are using syslog-ng. After a while the syslog-ng daemon stops logging messages, but the daemon keeps running. This ...
1
vote
2answers
315 views

Reach LXC container from a virtualbox guest on the same host

Context I develop websites on my Ubuntu laptop (Ubuntu 13.04 64b). Each site runs within a dedicated LXC container¹ on network 10.0.3.x I sometimes need to reach those sites from a virtualbox guest ...
4
votes
1answer
675 views

Mount Docker container contents in host file system

I want to be able to inspect the contents of a Docker container (read-only). An elegant way of doing this would be to mount the container's contents in a directory. I'm talking about mounting the ...
3
votes
1answer
604 views

LXC networking with public IP

I have installed LXC in ubuntu server 12.04 using this link. It was installed successfully and i am able login using ubutu/ubuntu as username and password. Then I tried to setup network for LXC ...
3
votes
1answer
602 views

With CentOS 6 and LXC, “ifconfig” is unable to see network interface (but busybox “ifconfig” works fine)

I've just started working with LXC under CentOS 6 (via the libvirt adapter). If I create an LXC container, I'm unable to see any network interfaces when using the native system tools: # ifconfig -a ...
2
votes
1answer
488 views

lxc container not getting default route

I'm running Ubuntu Precise. I understand that my current version of lxc doesn't support gateway/default route assignment (lxc 0.7.5-3ubuntu67). I've been trying like heck to get a few lines to execute ...
2
votes
1answer
438 views

Managing LXC containers in EC2

I have an EC2 instance running inside a VPC. I need to run a service inside a LXC container started in that instance and to make the service available to the outside world. I have therefore created a ...
1
vote
1answer
161 views

Execute virtualbox in LXC ? /dev/vboxnetctl: No such file or directory

I have Jenkins installed in a LXC container. In one Jenkins job, I want to test my project deployment with vagrant + Virtualbox. So, I try to execute VirtualBox in my LXC container. First ...
1
vote
1answer
271 views

Cannot start XML defined Linux Container, faulty cgroup mount

Using ubuntu 13.04 latest; i've installed lxc and various other tools Here's my XML definition: <domain type='lxc'> <name>vm1</name> <memory>500000</memory> ...
1
vote
1answer
247 views

Missing lxc administration tools

Do you know how to backup and/or clone a lxc container ? I'm under Debian 6, and there is no lxc-clone, lxc-backup commands !? Lxc administration seems pretty tough...
1
vote
1answer
95 views

Chef-Server fails startup

I've installed chef-server from the chef apt repository using these instructions and everything seems to work until I try to start chef-server. I'm running Debian Squeeze in a Linux container (LXC). ...
1
vote
1answer
197 views

installing debian with debootstrap and lxc instead of debootstrap and chroot

So I need to 'install' (or rather prepare a root filesystem for) a Debian system and that was done with debootstrap and chroot before. However due to the not-very-existent isolation of chroots (with ...
0
votes
1answer
53 views

Running tor on lxc-based virtual infrastructure

I tried to set up a tor relay node on my server running debian squeeze with linux containers for better maintainability. Installing from main repository and tor repository failed. In debug.log there ...
0
votes
1answer
67 views

LXC not respecting netmask on Ubuntu 14

I have a LXC machine configured with bridging so that it has its own public IP address and is accessible over the internet. Even though it's working, the netmask address set in the VMs ...
0
votes
1answer
75 views

Linux Containers (LXC) : lx-execute and networking

I have a question about LXC Containers. I have some containers, if I lxc-start them, they come up with networking fine, but I want to just be able to run commands against them using lxc-execute, ...
0
votes
1answer
3k views

SLES DHCP Dynamic DNS: Unable to add forward map…: not found

I have a SUSE Linux Enterprise Server 11.3 install running on Amazon EC2 based off the official AMI. With DHCP and BIND configured (via yast) I'm having issues with Dynamic DNS. When a client ...
0
votes
1answer
310 views

use ssh-agent to connect to vagrant-lxc machines

I'd like to connect to a vagrant-lxc machine using a ssh-key which is already loaded. To make it a little bit more clear, here's my setup: Load ssh-key in Windows via PuTTy connect to vagrant host ...
0
votes
1answer
512 views

How do I configure routing from host system to virtual machine?

I have an Ubuntu host system that is running a MAC-VLAN virtual interface on top of eth0 interface, ipv4 routing is enabled. Also, this system has a Docker (LXC) container running: docker0 Link ...
0
votes
1answer
107 views

memory size error linux container

container name: vm1 config: lxc.tty = 4 ...
0
votes
1answer
321 views

Linux Container conversion to Vagrant and back

The situation is the following: we have an lxc (linux-container), which contains a Debian Squeeze distribution, built up with a preseed file. We wanted to add some extra packages (packages for the OMF ...
0
votes
1answer
368 views

How can I set up my own DHCP subnet on Rackspace?

Update: As per grawity and MonkeeSage's comments, it seems my question was pointed in the wrong direction. I've updated the title and question below... I'm currently evaluating LXC as an option for ...
-1
votes
1answer
110 views

OpenVZ Web panel: no such file to load when add physical server

I'm trying to use on my (testing) lxc server. I've on my server "potager.local": root@potager:~# lxc-list RUNNING FROZEN STOPPED web I've installed OpenVZ Web Panel on it and it ...
3
votes
0answers
78 views

Configuring Container with bridges and vlans (server only?)

I have two groups of lxc contianers on a server and want to isolate their network traffic for security reasons. I will be using port forwarding so the containers much each have separate IP's. I know I ...
2
votes
0answers
107 views

How do I find the path of socket?

Is there any method that can allow me to find the path of socket if the type of socket is PF_UNIX? And I have another question: let's assume that I have the following output of lsof: COMMAND PID ...
2
votes
0answers
385 views

Networking with lxc containers with local dhcp and external ipv6 double bridge problems

I want to use both ipv6 externally on all my containers, and ipv4 external only on the hosts. I am using Ubuntu 12.04 64bit. For ipv4 on the container I use the DHCP that came with the lxc ...
2
votes
0answers
475 views

FTP proxy with SSL support

I have a bunch of LXC containers with vsftpd daemon installed on each. I would like to forward/proxy traffic from dom0 server port 21 to particular containers based on ftp user name e.g. ...
2
votes
0answers
1k views

User not recognized by underlying authentication

I'm running lxc on Linux Mint Debian Edition tracking Wheezy/Sid. I created a container using "lxc-create -t debian -n dev". In accordance with the Debian wiki article on LXC I have mounted the ...
1
vote
0answers
19 views

(Unexpected?) blkio controller behavior

I'm using docker 1.4.0 with lxc-1.0.6 and cgroup-lite-1.1.5 on Ubuntu 12.04. I have 3 hard disks (/dev/[sdb-sdd]) that I write to from 3 distinct containers. They have only one XFS partition, mounted ...
1
vote
0answers
221 views

lxc command always “get error 4 in libc-2.12.so”

I've tried several time to find out why suddenly my LXC not working, I use dmesg | tail it shows: lxc-start[2777]: segfault at fffffffffffffffc ip 000000390347b82c sp 00007fffd9046c18 error 4 in ...
1
vote
0answers
131 views

How to change docker lxc/cgroup configuration at runtime

I would like to change docker lxc/cgroup settings while a container is running. As an example, if I launch a container like this: docker run --lxc-conf="lxc.cgroup.cpuset.cpus = 0" ... How do I ...
1
vote
0answers
214 views

Publish or forward ipv6 port range to Docker container

I'm building a IPv6 enabled FTP container based on pure-ftpd and I have the problem that passive mode needs the client to connect on any port in the range of 30000 to 50000 to the server on the ...
1
vote
0answers
99 views

Make LXC containers available from the physical network

I've been trying to achieve the following. I want to use LXC as a thin isolation layer inside our physical machines, meaning each machine will have only one container running. For this container, I ...
1
vote
0answers
85 views

LXC and proxying port 22 (ssh)

I have installed LXC on my Ubuntu 12.04 server and have created a couple of containers. I have only 1 external IP address, thus I am using nginx on my host machine to proxy HTTP requests from certain ...
1
vote
0answers
26 views

Would using containers be appropriate for a virtual lab?

So far i have been running a VM lab using virtual box, however functionally i cant see a difference between using virtualbox and a container based virtualization application, such as lxc. This is ...
1
vote
0answers
167 views

dnsmasq and lxc with wildcard DNS subdomains

I'm using LXC to create a new containers. All of them are using dnsmasq with DHCP to get their IP address and to have local DNS server. I setup a domain .lxc in dnsmasq. So every container will get ...
1
vote
0answers
1k views

lxc container doesn't start because - lxc_conf - failed to setup the console

I use ubuntu 12.04 server with all updates I was restarted lxc container by a command in shell: "reboot" lxc version is: 1.0.0~alpha1.0+master~20130930-1830-0ubuntu1~ppa1~precise1 #uname -a Linux ...
1
vote
0answers
544 views

Mounting a network file system inside LXC on Ubuntu 12.10

On an Ubuntu 12.10 server, I created an Ubuntu cloud lxc container. In the /var/lib/lxc/MY_CONTAINER/config file, I uncommented the line: lxc.aa_profile = unconfined and started the container. ...
1
vote
0answers
423 views

Set up LXC container as VM with its own IP address

I need to set up a fenced environment in on Ubuntu server. The actual use case is to have two separate websites running on the same physical box, but I want one of those websites running in a fenced ...
1
vote
0answers
100 views

Why can't rsyslogd find libgcc_s.so.1?

Scenario: Running a debootstrapped Ubuntu 11.4 lxc guest on a Ubuntu 12.4 lxc host. Inside the lxc guest, rsyslogd is constantly crashing with SIGABRT stating: libgcc_s.so.1 must be installed for ...
0
votes
0answers
13 views

less doesn't work in LXC container

I'm experiencing some trouble running less and expect inside LXC container (whether using console or SSH) Expect won't work before I won't add an "interact" anywhere in the script, and less doesn't ...
0
votes
0answers
38 views

LXC container clone has no network and SSH stopped

I was having this networking problem with LXC containers (question and answer here:bridging LXC containers to host network with different IP range) and if I have found a solution, I still have not ...
0
votes
0answers
48 views

could not create lxc container where linux distribution is different than the linux host?

My linux host is ubuntu 14.04 x64. I tried to create a centos lxc container sudo lxc-create -n centos -t centos but return errors Host CPE ID from /etc/os-release: 'yum' command is missing ...
0
votes
0answers
16 views

LXC breaks IP-connectivity

I have i Libvirt/KVM-host with two physical ethernet cards. I use two bridges for these cards, one bridge for a local DHCP-based network and one for static public adresses. I use the first bridge to ...
0
votes
0answers
10 views

LXC utsname does not work

I have created a LXC by cloning it from already existing LXC by using command lxc-clone -o u1 -n u2. When I start the u2 it comes with a prompt u2 login. Till this point it is fine. However, when I ...
0
votes
0answers
23 views

Can I create separate bridges for every lxc user?

I have successfully created unprivileged lxc containers for one user on a system. All of those containers use the default lxcbr0 bridge. Now I want to allow other users on the system to create ...
0
votes
0answers
199 views

Configure Nginx with multiple lxc containers, virtual hosts and subdomains

I want to use multiple (at least 3) lxc containers running Apache2 on port 80. I want to configure Nginx such that www.mydomain.com serves the content on the host machine while sub1.mydomain.com , ...
0
votes
0answers
63 views

lxc - java out of memory issues

I have a set of virtual machines on lxc container that run Ubuntu 14.04. All share same host and some of them are currently experiencing problems with java. Running java -version throws OutOfMemmory ...
0
votes
0answers
85 views

LXC setup with multiple LVM-backed disks

I'd like to set up an lxc container on an ubuntu host with multiple back-end disks. At least two: /boot / /opt, maybe Is there a way to, in one lxc-setup command, to accomplish this? Below is ...
0
votes
0answers
28 views

How lxc-console implements implementation of the process into container?

Let's assume that we have some host with containers on it. When I type lxc-console I can get access from host's cmd to container's cmd, so I want to know what exactly happens? I mean how lxc-console ...
0
votes
0answers
310 views

Systemd under LXC does not believe network device exists

I am running Arch Linux under LXC. I have a systemd unit file for dhcpcd (a DHCP client) that includes: BindsTo=sys-subsystem-net-devices-eth0.device And indeed, eth0 exists and is functioning: # ...