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

0
votes
0answers
15 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 | ...
0
votes
0answers
22 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
0answers
19 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
38 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
25 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
20 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
136 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 ...
2
votes
1answer
101 views

Microsoft Windows equivalent to LXC

Does Microsoft Windows have any equivalent product similar to Ubuntu's LXC container virtualization technology?
0
votes
2answers
54 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
109 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
44 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 ...
1
vote
2answers
74 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
16 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
16 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
52 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
438 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
104 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
280 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
32 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
162 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
63 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
20 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
19 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
54 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
1answer
113 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
33 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
167 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
105 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
142 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
37 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
53 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
37 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
24 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 ...
2
votes
1answer
165 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
78 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" ...
0
votes
1answer
189 views

LXC container can only access host via bridge

I have an LXC container with i686 Ubuntu 12.04 running on a x86_64 Ubuntu 12.04 host. I've set up a bridge using instructions here. However the ping from the container only goes through to the host ...
-1
votes
0answers
56 views

What is wrong with this Server Configuration? [closed]

Working on a scalable server configuration in Amazon EC2. Amazon Instance with /mnt/xvdf - Ubuntu OS /mnt/xvdg - additional volume with app data 2nd instance with /mnt/xvdf - Ubuntu OS /mnt/xvdg - ...
1
vote
1answer
100 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 ...
2
votes
1answer
337 views

Why use lxc instead of chroot?

One ubuntu server hosts 3 apps all on separate domains. Each app has its own developers. App developers belong to linux "sftp" group. chroot allows password sftp access for each app developer. ...
0
votes
0answers
344 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 ...
0
votes
2answers
548 views

Can Docker help me install Oracle 11g database on Ubuntu?

We are struggling with a common problem of trying to provide an Oracle 11g instance for our developers to test with. Our standard build agents are based on Ubuntu 12.04 but Oracle supports only RedHat ...
5
votes
2answers
1k views

Relationship between Vagrant, Docker, Chef and OpenStack (or similar products)?

I am a web developer, but I am also interested in a few administrative tasks. Hence, the new move from pure administration to dev-ops comes handy for me. Anyway, I have some problems to put a few ...
0
votes
1answer
244 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 ...
2
votes
0answers
255 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 ...
0
votes
0answers
87 views

How to configure logs using ISPConfig in an LXC Container?

ISPConfig stores the webserver's logfiles in /var/log/ispconfig/httpd/domain.com and uses "mount --bind" to also have the files in /var/www/domain.com/log . Since I'm running Ispconfig in an LXC ...
1
vote
1answer
437 views

LXC - quota inside container

Is it possible to use disk quota inside a LXC container? I'm using LVM (ext4) as rootfs for the container. I don't now how to add the mount options to /etc/fstab properly. The /etc/fstab of the ...
0
votes
0answers
67 views

memory size error linux container

container name: vm1 config: lxc.tty = 4 ...
0
votes
3answers
224 views

Redirect localhost requests to a Linux container

I run some linux container on my ubuntu host. Each one of them are running a webapp. To be able to access these webapps, I use iptables to forward port: sudo iptables -t nat -A PREROUTING -p tcp ...
0
votes
1answer
304 views

What is required to activate cgroups in Linux

I have a Debian squeeze kernel (linux-image-2.6.32-5-openvz-amd64) which according to the Doku should support cgroups. When I look into the kernel configuration, it does (or is some other kernel ...
0
votes
0answers
61 views

Fair bandwidth sharing between lxcs

I'm trying to balance network bandwidth between a number of lxc's (which is variable) and the system itself to ensure it stays reachable. My current (not working) approach is as follows: tc qdisc add ...