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
0answers
16 views

LXC networking not giving outgoing connection

I have a LX container on Ubuntu 13.04 which has worked flawless for the last 161 days. I restarted the host and started all the LXC's and I'm allowed to connect to the LXC containers from the outside. ...
0
votes
0answers
23 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
30 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 ...
-1
votes
1answer
24 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 ...
0
votes
1answer
26 views

Reverse Proxy Linux Containers

I am trying to set up a reverse proxy on my ubuntu 14.04 host so that I can run multiple websites, each in their own LXC container (one day docker but one step at a time). In this example the ...
1
vote
1answer
15 views

Logical volume attributes

I've used lxc-clone command to clone my lvm-based container (test_lvm was copied to create u33). Container works fine, but the output of sudo lvs confuses me: LV VG ...
2
votes
0answers
35 views

Why are cgroups (blkio serviced bytes) and iotop producing diverging results

I work with lxc user space tools on ubuntu 14.04 and I want to perform some stress tests and benchmarking within a container. I know that free and htop are not working properly in a container. I am ...
0
votes
1answer
41 views

Requirements to move an LXC container from host to another

What are the requirements and things to know to move an LXC container from an host to an other ?
1
vote
1answer
54 views

Iptables prerouting based on destination's DNS name?

I've got a question concerning iptable prerouting. I'm not that familiar with networking/routing/iptables so I hope this is not a stupid question, at all. So I ask for your understanding and ...
0
votes
0answers
27 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 ...
1
vote
1answer
61 views

IP address reuse on macvlan devices

I'm trying to create easy to use and possibly simple testing environment for some product and got some strange behaviour of macvlan's. What I'm trying to achieve: make a toolset for one-line ...
1
vote
2answers
58 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 ...
0
votes
1answer
35 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 ...
10
votes
2answers
1k views

Linux containers (LXC) on Red Hat/CentOS EL6 - lxc-create versus libvirt?

It's tricky trying to stay within the good graces of Red Hat and still plan for system longevity... I've been a proponent of Linux Containers (LXC) for over a year. My initial installations were ...
1
vote
0answers
44 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 ...
0
votes
1answer
121 views

How accessing a NATed, virtualized (LXC) server over public IP from client itself on a bridged network?

Setup ____________________________ ____________________________ | Host | | Client | | Public IP: 66.66.66.66 | ...
3
votes
1answer
662 views

docker: set hostname for container

I'm having trouble setting the hostname on a running docker container. I'm also having trouble understanding how to specify hostname after the image is started. I started a container from an image I ...
0
votes
1answer
40 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, ...
3
votes
1answer
170 views

LXC and Saltstack minion_id configuration on Ubuntu

I'm using LXC as a lab platform for testing SaltStack scripts. The lab consists of +5 Ubuntu 12.04 LTS containers, which I create by cloning a template container with salt-minion pre-installed. Once ...
0
votes
2answers
45 views

Error Installing lxc 1.0.0

I am trying to install lxc 1.0.0 but I get this error when I run this command I have added the following repos to my sources.lst file deb http://ppa.launchpad.net/ubuntu-lxc/daily/ubuntu saucy main ...
1
vote
0answers
34 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
2answers
203 views

How to route public ipv6 address to private lxc container address?

I have a pool of public ipv6 address I want to use to expose lxc containers. On the host machine I created a macvlan interface eth0-macvlan and bound a public address to it 2600:3c01:e000:83::1/64. I ...
5
votes
1answer
307 views

Microsoft Windows equivalent to LXC

Does Microsoft Windows have any equivalent product similar to Ubuntu's LXC container virtualization technology?
0
votes
2answers
195 views

LXC container starts with readonly root filesystem

I am running LXC on Debain Wheezy using BTRFS, and have created a container using lxc-create using the "debian" template (yesterday). When starting the container, the root filesystem in the container ...
4
votes
2answers
200 views

Does LXC container performance depends of host load?

I am wondering if LXC could offer a full isolated benchmarking environment. Let's say we have 2 identical machines, with the same fresh Linux and without network connection. First machine has a load ...
2
votes
0answers
48 views

how to move process from one namespace to other? [closed]

Is there any available method to move process/group of processes from one namespace to other in Linux? I mean methods via commands of some packages or it can be done via setns()? E.g. I have processes ...
2
votes
3answers
316 views

Setting up bridged LXC containers with static IPs

I'm trying to setup multiple LXC containers on a host, each with public static IPs of their own. My host is running the latest Ubuntu. It has a single network interface named eth0. The static IPs ...
1
vote
0answers
22 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
1answer
41 views

Byobu - How to disconnect from lxc-console

I am inside Byobu on ubuntu 12.04 and entered an lxc-console. Unfortunately, the escape sequence for lxc appears to be cntrl-a q. However this clashes with Byobu's which also uses cntrl-a sequence. I ...
1
vote
0answers
96 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 ...
0
votes
1answer
1k 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
288 views

why docker not executing init as lxc

Docker is not running init. So services are not started during startup. Lxc runs init during lxc-start.Since Docker is using lxc why it is not running init. What are the advantages of not running init ...
1
vote
1answer
460 views

docker/lxc bridged networking

I have this server (the host) which has 1000 external ip addresses. I created a docker container running squid3 and I need to use those ip addresses. I can enable forwarding from the host but that ...
0
votes
0answers
45 views

Containers running on ARM

I've been doing some research and decided to implement OpenVZ since it allows each container to be isolated from other containers, unlike LXC. However, OpenVZ is still not supported for ARM ...
0
votes
1answer
249 views

How to share an LXC container between two compatible hosts?

I use Linux and I am in the process of migrating from one Linux Mint 15 into Linux Mint 16. Each OS is installed on the same partition as a different subvolume on the same btrfs partition. As I use ...
2
votes
0answers
82 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 ...
0
votes
0answers
26 views

Same tc rules, different behavior?

I want to do some experiments with various network conditions. To do this, I am created 2 lxc containers and I place traffic control rules with tc on their network devices to represent these ...
0
votes
0answers
24 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 ...
3
votes
0answers
64 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 ...
1
vote
2answers
182 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 ...
0
votes
0answers
49 views

lxc-start: filesystem could not be mounted: /run

I have installed lxc in ubuntu server, every thing was working fine. Today I have updated lxc from version 0.7.5 to version 1.0.0.alpha2. After I update lxc, I am unable to start lxc containers. ...
0
votes
1answer
202 views

how do I enable seccomp with lxc

I can see in the lxc repo README there is a trivial example: lxc.seccomp = /var/lib/lxc/q1/seccomp.full whith some commands to fill up a file with a whitelist which (it is claimed) allows ...
0
votes
3answers
144 views

Interface for accessing to guest OS via libvirt

Is there any possible (not necessary native) ways to get access (e.g., terminal usage is the main purpose for me) to guest OS with *nix using libvirt/LXC(not as libvirt module) capabilities? And I ...
0
votes
1answer
220 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
0answers
56 views

mount lxc containers in different partition

I have created two containers(say TestOneContainer and TestTwoContainer) in ubuntu server using LXC. Now the lxc filesystem is in /home folder and two containers also use /home folder. I have created ...
2
votes
1answer
76 views

iptables port forwarding only for a certain range of IP

I'm using LXC containers. Each one of my containers have an ip address in 10.0.3.0/24. I want the packets that come into my host on a certain port to be redirected to a container so I use this rule: ...
0
votes
0answers
78 views

Static Routes for LXC Container

I have set up an LXC Container to have an IP Address from the same Subnet as the Host (i.e. a Bridge Setup) on Ubuntu 12.04LTS. The Host/LXC does not assign any adresses, this is done inside the ...
0
votes
0answers
27 views

vzpid equivalent for LXC?

I've recently migrated my containers from OpenVZ to LXC as OpenVZ support was dropped from Debian Wheezy. I used a command called vzpid on the host machine that identified from which container the ...
3
votes
1answer
291 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 ...
0
votes
1answer
156 views

How can I create an LXC container in a custom directory

My root filesystem is full and I'd like to create a container in my home directory, which has a lot of free space. I made a config file like this: LXC_AUTO="true" LXC_DIRECTORY="/home/al/lxc" ...