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
9 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
23 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 ...
0
votes
0answers
19 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
38 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 ...
-1
votes
0answers
59 views

iptables error on lxc container (centOS) with Ubuntu host

Currently I'm encountering the following error when I try to start iptables(service iptables start) inside lxc container. The lxc container is centOS and host is Ubuntu physical server. And modules ...
0
votes
0answers
26 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
29 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 ...
0
votes
0answers
71 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.
0
votes
1answer
27 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 = ...
0
votes
0answers
17 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
31 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 ...
0
votes
0answers
84 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 ...
19
votes
5answers
3k 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 ...
1
vote
1answer
48 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
32 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
68 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 ...
0
votes
2answers
127 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
0answers
42 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
79 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 ...
0
votes
2answers
71 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 ...
1
vote
1answer
26 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: ...
1
vote
1answer
24 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
2answers
87 views

Will Linux/Ubuntu running in an LXC container understand cgroup memory limits?

I'm planning to rent a physical server and run MySQL inside an LXC container on that server. I'd like to control maximum memory usage for the MySQL instance using cgroup limits : ...
0
votes
0answers
48 views

Proxmox-Server reboots sporadically

I just mentioned that my proxmox-system is rebooting from time to time when performing backup-tasks (bacula, not the proxmox-backup-system). The logs are showing the following: Mar 8 02:30:01 ...
3
votes
1answer
120 views

CGroups memory limit not working

I am trying to limit memory usage for a LXC container using CGroups, but I can't limit the memory. # lxc-cgroup -n maxdaniel981 memory.limit_in_bytes 134217728 lxc_container: failed to assign ...
0
votes
0answers
41 views

postgresql in lxc container doesn't start after reboot

Debian stable (Jessie) I have few containers - in one container there is postgresql. I want to start it first (I hope that my config does it). After reboot all containers starts, but i can't log in ...
0
votes
1answer
62 views

lxc/lxd iptables ouput owner rule errors out with “Invalid argument.”

If I try to run the following command in my lxc/lxd Ubuntu 14.04 amd64 container: iptables -A OUTPUT -p tcp -m owner --uid-owner 0 -m tcp --dport 80 -j ACCEPT I get the following error message: ...
0
votes
1answer
235 views

Why is zfs/btrfs recommended for an lxd host?

Note that for maximum performance, it's recommended to have /var/lib/lxd on a btrfs filesystem or setup ZFS or LVM and configure LXD to use a ZFS pool or LVM VG. Source Why is that? I.e. ...
2
votes
2answers
785 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 ...
2
votes
0answers
26 views

LXC bridge with several IP addresses

While trying to setup a small server with LXC containers, I encountered a problem: I want to assign 4 different IP addresses: 1 address for the host and 3 addresses in a different net for the ...
1
vote
0answers
250 views

Copy lxd containers between hosts

I've installed lxd on two ubuntu hosts that can only communicate via an intermediate server (on which I don't have su privileges). I've created a container on my localhost and now wish to load the ...
2
votes
2answers
198 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
40 views

Is it possible to run Ubuntu 15.10 in a lxc container on an Ubuntu 14.04LTS host?

I did not find any hint about it... Is it possible to run Ubuntu 15.10 in a lxc container on an Ubuntu 14.04LTS host?
0
votes
1answer
31 views

Having one of many public IP addresses for LXC only

I have VPS server hosted using Xen from hosting provider. I am assigned few IP addresses (*.*.56.234, *.*.56.235, *.*.56.236, ...), however there is one physical network device eth0. The host is ...
1
vote
0answers
61 views

Mount ZFS dataset in unprivileged container

First a bit of information about my configuration: Ubuntu 15.10 ZFS pool created LXC containers stored in pool/lxc Dataset created in pool/mydataset owned by user1 Now I need one of the containers ...
1
vote
1answer
25 views

Why do I need to start services using sudo when logged in as root in an LXC container?

I've got an unprivileged LXC container which I've set up following the steps outlined on Stèphane Graber's website. Things work pretty well, but I'm having trouble starting php-fpm even though I am ...
0
votes
1answer
30 views

systemd-networkd not recieving DHCP IP in cloned container

I am trying out LXD, and created a barebones Arch Linux image from scratch. It works perfectly the first time the image is used, but cloning the container or reusing the image causes networkd to not ...
0
votes
0answers
56 views

NAT for LXC Containers Debian 8 - no connection

I have a Debian 8 server running on a physical host machine. To seperate some services, I have created a lxc container (also debian 8). I am currently trying to set up a working NAT so my lxc ...
0
votes
1answer
92 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
0answers
67 views

yum halts after installing 7 packages on centos container

I was curious about containers, so decided to give it a try. Prepared a server as host with a fresh install of CentOS 7, installed lxc and lxc-templates and configured a bridge interface. I've ...
0
votes
1answer
83 views

How do I provision a new LXC container using saltstack?

I've got a host server which runs Jenkins. I'd like Jenkins to automatically create new containers and prepare those containers with SALT. The ultimate purpose is to use these containers to test code. ...
1
vote
1answer
125 views

Proxmox: recreate CT from “.raw” disk image

I crashed a Proxmox 4 server beyond repair and some some of my CTs I don't have a dump file, all I have left is .raw disk image. So my questions are: where is the CT's ".conf" file once /etc/pve ...
1
vote
2answers
230 views

How to use Ansible to manage remote lxc containers?

How can I use Ansible to execute tasks on lxc containers on a remote server? We use Ansible to deploy our code on several servers (physical and virtual machines). Until now, every instance had a ...
1
vote
0answers
58 views

Executing Cuda script in LXC container results in “cuda error: no CUDA-capable device is detected”

I followed the following instructions in order to set up Cuda inside an LXC container. When I try to execute the sample ./deviceQuery script inside the container following error is returned: $ ...
1
vote
1answer
342 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
102 views

Proxmox LXC-guest: Cannot open /proc/stat: Transport endpoint is not connected

since a few seconds I can not use htop or top in my LXC-containers: Cannot open /proc/stat: Transport endpoint is not connected Same problem on reloading php5-fpm Dez 18 13:40:31 systemd[1]: ...
1
vote
0answers
162 views

LXC Error -> Failed to reset devices.list on /lxc/103/system.slice/proc-diskstats.mount: Permission denied

unfortunately I'm getting a lot of errors like these ones in my debian 8 LXC-container: Failed to reset devices.list on /lxc/103/system.slice: Permission denied Dec 17 16:34:37 systemd[1]: Failed to ...
1
vote
0answers
141 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() ...
0
votes
1answer
13 views

Does LXC support IPSET6+?

I would like to use a new firewall-extension for PLESK on a Proxmox-LXC. Now the support of the firewall-extension wrote me this message: Does LXC support ipset 6+? If not then I wouldn't ...
0
votes
1answer
27 views

How to make a drive mount avaialble inside a container?

I intend to use the mount inside the container for a postgres database. I have been unable to make the drive available inside the container. So far I have: mounted /dev/sdb to /mnt/psql on the host ...