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
9 views

Automate the LXD configuration interactive setup?

I realize lxd init has an interactive setup for networking, etc. I'm looking to automate some VM's running LXD and was wondering if there is a nice CLI command that documents this configuration as a ...
1
vote
1answer
19 views

LXC (proxmox) JBD high (100%) IO utilisation

We have a dedicated server running a number of smaller guest VMs containing for example, HTTP server, MySQL and some real-time applications. However we find that JBD inside the guests are often ...
0
votes
0answers
14 views

Containerized Local Web Server Behind EdgeMax Router

I have an Edgemax Lite router with a couple of machines on a single lan. I have one of the machines set up with Ubuntu server 16.04 running LXD. I want to be able to run applications in containers on ...
2
votes
1answer
1k 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
1k 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
votes
0answers
16 views

Alternative container technologies support in AWS [closed]

I am interested in trying different container technologies in AWS. So far, I know that AWS supports docker containers through their EC2 container service, but from what I see there is no support for ...
-1
votes
0answers
20 views

How to shrink the disk of a LXC container on Proxmox 4?

I would like to shrink the main disk of a LXC container on a Proxmox VE 4.2, from 30GB to 20GB for instance. Shrinking seems not to be supported yet : $ pct resize <VMID> rootfs 20G unable to ...
2
votes
2answers
1k views

How to make lxd containers accessible to the LAN

If I use Virtualbox to spin up a VM, I can select "bridged" as the network adapter type and this results in the guest/virtual NIC being connected to my physical LAN and hence getting a LAN IP from my ...
21
votes
6answers
4k views

Can you run Docker natively on the new Windows 10 (Ubuntu) bash userspace?

My understanding was that the primary limitation of running docker on other OSs was the Linux Network containers that made it possible. (Certainly for Macs). Recently Microsoft announced a beta of a ...
2
votes
1answer
39 views

SELinux on CentOS7-based LXC?

is there any way to enable SELinux on LXC-based container using proxmox 4.2? Thanks in advance!
0
votes
0answers
33 views

Apache2/Httpd does not start after boot on CentOS7/LXC. Manual restart gets it working

I'm facing a strange problem: I got Apache2 installed on my CentOS7-based VPS. If I reboot the container the httpd does not start: ● httpd.service - The Apache HTTP Server Loaded: loaded (/usr/...
0
votes
0answers
20 views

replicate lxd bridge in /etc/network/interfaces and dnsmasq

I have a Ubuntu 16.04 server and default LXD configuration. Typically, when an image comes up, this happens: eno1 Link encap:Ethernet HWaddr b8:ae:ed:ea:69:41 inet addr:192.168.0.3 ...
0
votes
0answers
31 views

LXC host share cgroup directory with container

I run priviledged containers on Centos 7. I want to have isolated cgroups inside container, so I don't want other containers to see cgroups of other containers. I have set lxc.mount.auto to cgroup:...
1
vote
1answer
32 views

IPv6 and LXC connectivity

I am struggling a bit on how to equip my LXC configuration with IPv6 currently. What's the setup? Ubuntu 16.04 LTS LXC2-beta from the Ubuntu PPA's (feature IPv6 connectivity) I use a netcup IPv6 ...
22
votes
4answers
26k views

Docker containers can't resolve DNS on Ubuntu 14.04 Desktop Host

I'm running into a problem with my Docker containers on Ubuntu 14.04 LTS. Docker worked fine for two days, and then suddenly I lost all network connectivity inside my containers. The error output ...
1
vote
1answer
32 views

Port forwarding prevents container from updating

I use the following route on my host machine in order to pass all my traffic to a NGINX server running at port 8080. -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080 Unfortunately when I ...
1
vote
1answer
159 views

LXD 2.0 on Debian 8.4

I'm running Debian 8.4 and would like to set-up recently released LXD 2.0. Is this feasible, or should I stick with LXC? It seems all focus is on using LXD with Ubuntu.
1
vote
0answers
21 views

Can't ping my LXC container

I have set up a linux container on my server. The problem I have right now is that I cannot ping my linux container from my laptop, but I can ping the hypervisor. I created the LXC by using: lxc-...
1
vote
1answer
11k 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
0answers
24 views

Cannot start mongo - Mongo killed

I tried to migrate my Mongo installation from 14.04 to 16.04 using a new LXD Container. I used the previous configuration file that can be found below. mongod.cnf # mongod.conf # for ...
1
vote
1answer
18 views

Upgrading Debian Squeeze with OpenVZ to Debian 7/8 with LXC

I have a few servers which are running Debian 6 (Squeeze) which uses OpenVZ to run containers. The containers are some Debian 6 and some Debian 7. Squeeze was the last version of Debian to support ...
2
votes
3answers
1k 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 containers cannot connect outside of VM

I have two CentOS 7 LXC containers on a RHEL 7.2 VM using virbr0 as a virtual bridge. Originally, container1 could connect out and do e.g. yum installations, but after I created container2, neither ...
43
votes
3answers
15k 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
40 views

bridged LXC: container's mac address learned on wrong interface

Ubuntu host has p2p1.17 physical interface attached to bri17 bridge. LXC container FOO has following net config: lxc.network.type = veth lxc.network.link = bri17 lxc.network.hwaddr = 00:16:3e:aa:aa:...
0
votes
0answers
22 views

What is the network connection speed between two containers communicating via a virtual bridge running on the same host?

Does a virtual bridge (added to /etc/network/interfaces) limit the transfer speed of data from the memory of one lxc/docker container to another? For example does the memory throughput drop to that ...
0
votes
1answer
96 views

FreeIPA in LXD/LXC containers - cannot switch user

The Setup consists of one FreeIPA-Server and one Client, which both reside in unprivileged LXD-Containers on the same Host. Both containers and the host machine run Ubuntu 16.04. All Settings are ...
0
votes
2answers
3k 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
36 views

Dovecot auth-worker permission denied to PAM and even /dev/log

Problem I have a problem dovecot authenticating users via pam_sss.so (in an LXC container, which may be related or may be not). # doveadm auth login semenov Password: passdb: semenov auth failed ...
1
vote
0answers
42 views

Proxmox: Add IPs from different subnets to LXC-container

I am using proxmox 4.1. If I add IP-addresses to my CentOS-7-LXC I can only do that if this IP is from the same subnet. If I'm using another subnet with another gateway the container is not pingable ...
6
votes
2answers
8k views

LXC container not starting

My CentOS LXC containers are not starting anymore on an Ubuntu 14.10 machine. I think that the problem started after a reboot, but I am not sure. I had a similar problem after an yum update, when the ...
8
votes
3answers
4k views

Why LXC when there is linux-vserver?

I am no LXC expert, but as far as I know it is really similar to linux-vserver. If that is correct, I wonder why there is another player in the already crowded virtualization camp? What does LXC ...
0
votes
0answers
27 views

How to isolate two containers connected to the same bridge?

I have several LXD containers which are bound to a single bridge (the default lxdbr0 or another one, it does not matter). The host itself has another two interfaces, one ultimately connecting it to ...
1
vote
1answer
25 views

lxc 1.1.2 on Debian Squeeze

I am running lxc 0.8.0 inside Debian Squeeze (Linux kernel 3.4.34). Does anyone run lxc 1.1 or newer inside Linux kernel 3.4? As I know, docker require Linux kernel version at least 3.16. What is the ...
1
vote
1answer
35 views

Connect virtual subnets from two physical host

I have proxmox 4 based on debian 8 on two hosts A and B. Both have two NICs. One NIC from each host is connected via a Crossover cable. Host A: eth0: public IP eth1: 10.0.0.2/24 vmbr1: 10.0.0.1/24 ...
1
vote
0answers
165 views

IOTOP on LXC -> Netlink error

unfortunately I can not use iotop on proxmox-lxc-container and debian 8 template. This is the output: Traceback (most recent call last): File "/usr/sbin/iotop", line 17, in <module> main() ...
2
votes
2answers
234 views

MySQL doesn't start after upgrading to Debian Jessie

I have a server with Proxmox 3.4 with several OpenVZ-containers. Host and all guests are running Debian 7 x64. Now I want to migrate my old setup to a new server with Proxmox 4 (based on Debian 8). I ...
0
votes
1answer
111 views

Intermitent connection issues inside LXC

I am experiencing connection issues inside a LXC that are driving me mad. They are intermitent. They appear during some time, and they suddenly disapear. Scenario A lxc inside a host. Both are ...
1
vote
1answer
58 views

lxc, how to control which interface lxcbr0 is defined on?

We have a host with production and management networks. Using the default setup, containers use lxcbr0. However, we cant find where this interface is defined, or which of our networks (management o ...
0
votes
0answers
106 views

Flat LXD network?

I have a rather simple network setup, and from what I see LXD defaults to veth networking model, I was hoping for a simpler flat networking (external DHCP, direct access to external LAN) to run ...
-2
votes
3answers
209 views

Can Docker Corrupt a Software RAID Setup? [closed]

I read that software RAID should not be implemented on a machine that also has ESXi virtual machines running. Does this mean that I would want to avoid LVM and or LXC/Docker containers as well on this ...
2
votes
2answers
247 views

LinuxContainers arch-linux double login tty

Since upgrading to LXC 1.0 with the new Arch Linux template when I create a new instance I have a double tty when invoking: lxc-console --name <container> This is the output: Arch Linux 3....
0
votes
2answers
150 views

ubuntu 14: how to configure bridge for bonded interface?

We have a server connected to 2 switches via two NICs. On each NIC are 2 VLANs, management and production. Right now we only have one switch connected, so haven't setup the spanning tree etc. We ...
0
votes
2answers
90 views

Proxmox: Node's load at 70, 2 containers are not responding, but top shows nothing

I got a huge problem. Some of my Proxmox-based LXC-containers are not responding since 2 days if I do not reboot the node. This happens always at the same time in the night (I guess there is ...
0
votes
0answers
49 views

Merge btrfs subvolumes of lxc container

Problem: I've made some snapshots of an lxc container in the past. When I tried to make one earlier using the command lxc-snapshot -n base -c commentfile it echo'd Container is not defined. I ran that ...
0
votes
0answers
88 views

Where are network namespaces in lxc / lxd?

I am trying to understand namespaces in the context of lxd / lxc. I have two containers which respective eth0 is bridged to br1 and br2 on the host. This is done via a Virtual Ethernet interfaces ...
1
vote
1answer
401 views

Add a second disk image to a LXC container in Proxmox 4

My LXC containers in Proxmox 4 have a root filesystem stored on the host as a RAW disk image stored in : /var/lib/vz/images/<ct_id>/vm-<ct-id>-disk-1.raw This folder on the host ...
0
votes
0answers
56 views

squid in lxc container - don't want to work

I have a default Debian Jessie (amd64) host, minimal install, which runs a linux kernel 4.3.5 form backports repo. I've installed on it an lxc container (template download, selected system is a debian ...
0
votes
0answers
101 views

LXC SSH too slow in CentOS7

I have a newly created centos7. I installed the LXC and create a configuration: lxc.network.type = veth lxc.network.link = lxcbr0 lxc.network.hwaddr = fe:84:8b:f1:76:8e lxc.network.flags = up lxc....
1
vote
1answer
33 views

zombie lxc swap file: text file busy but no pid

I have a server running Ubuntu 12.04.5 LTS (Precise Pangolin). On that server I created a new Linux container: $ sudo lxc-create -n mycontainer After a while I decided to get rid of this container: ...