Skip to main content

Questions tagged [lxc]

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 on steroids”.

1 vote
1 answer
899 views

Running LXD containers on centos?

I've just discovered LXD and this technology sounds amazing. The power of virtual machines with the cost of normal linux processes! However, I'm not able to find any information on how to run LXD on ...
user14660's user avatar
  • 172
1 vote
0 answers
145 views

Enabling cross-host container communication under a VMware ESXi environment

I have a group of CentOS 7.2 servers running as VMs under VMware's ESXi 6.0. These all reside on the same subnet and we have no problem communicating between the different servers. In addition, each ...
Peter Steele's user avatar
8 votes
2 answers
8k views

Syntax for setting LXD Container raw.idmap

I'm following the procedure for mounting a host drive inside an lxc container as described here. In that article the author sets the raw.idmap like this: lxc config set zesty raw.idmap 'both 1000 ...
Millhouse's user avatar
  • 713
1 vote
2 answers
1k views

LXC configuration : Alloting a disk space

I am trying to create an LXC container by following the below containers. "Introduction to Containers on Linux using LXC" I am able to create the container and start it. But when I execute the df-h ...
nirmalraj17's user avatar
2 votes
1 answer
353 views

LXC configuration: issue creating a bridge for sharing the network to the containers

I am trying to install the LXC and LXC container on a new HP server with Centos 6.8, using the article "Introduction to Containers on Linux using LXC". Steps which I executed. yum update yum ...
nirmalraj17's user avatar
0 votes
0 answers
740 views

LXC libvirt memory cgroup out of memory

i am using LXC with virt-manager (libvirt) to host a Bind DNS server, with 512MB RAM allocated. The VM is on a ZFS filesystem (ZFS on Linux) Recently i got out of memory situation but i cannot find ...
Sidias-Korrado's user avatar
3 votes
1 answer
406 views

does the host system manage the sockets created by processes running in LXC containers?

I'm new to using LXC and I couldn't find an answer to this question. In a scenario where we have multiple containers running on the same host, and they're connected to a bridge which connects them to ...
KLD's user avatar
  • 33
0 votes
1 answer
353 views

LxD container on external drive not starting on another host

I have identical OSes (Ubuntu 16.04) running on 2 hosts, with identical OS updates. I also have identical LxD service installed (via sudo apt-get install lxd) and configured (via sudo lxd init) on ...
Harry's user avatar
  • 851
0 votes
0 answers
412 views

What's the difference between a Docker Ubuntu container and an LxD Ubuntu container?

I've read that Docker is an application container mainly used to package dependencies along with the application in question. Whereas, LxD is a system (or, infrastructure) container that is almost ...
Harry's user avatar
  • 851
6 votes
2 answers
2k views

Using MySQL and LxD over Btrfs

I have a Ubuntu 16.04 workstation, with an ext4 filesystem. When playing with LxD, I would like to have a lightening-fast snapshoting ability (since my images would usually be big). This ability, in ...
Harry's user avatar
  • 851
1 vote
1 answer
622 views

Some file permissions have '??????????' under LxC - Is this a feature, or a sign of a corrupt file-system?

I ran into the following listing quite by chance: [root@myhost /root]# cd /var/lib/lxcfs/cgroup/devices/ [root@myhost /var/lib/lxcfs/cgroup/devices]# ls -l ls: cannot access 'devices.allow': ...
Harry's user avatar
  • 851
0 votes
1 answer
2k views

Orchestration of lxc/ldxd containers

In Docker you have a docker compose tool, with which you can set up an architecture and spin it up. Is there something likewise for lxd/lxc ?
Willem's user avatar
  • 399
1 vote
1 answer
599 views

libvirt_lxc not working in Ubuntu 16.04

I installed libvirt on a fresh install of Ubuntu 16.04 desktop using apt install libvirt-bin. I then created an LXC domain named a. When I tried virsh -c lxc:/// start a, I saw this error message: ...
ServArt's user avatar
  • 63
1 vote
2 answers
2k views

lxd container to host communication

My lxd setup is such that each container gets its own dynamic ip. Let us say 10.0.4.211, 10.0.4.212 and so on. If I have some service running on the host, say on port 8080, how can code in the ...
deepakkt's user avatar
1 vote
0 answers
2k views

How to enable shared Clipboard for Windows and XRDP?

We´ve set up a development environment on Ubuntu 14.04, running in a LXC container hosted on a Proxmox 4.2 Server. The container is connected to our AD and accessed with xrdp. Problem: The clipboard ...
Kharne's user avatar
  • 11
0 votes
1 answer
2k views

LXC-Routing between containers

I have a pretty default lxc-setup with one host and several containers. One container webfrontend is getting all host-traffic on ports 80 and 443 via DNATing the ports. An nginx on webfrontend decides ...
Lars's user avatar
  • 439
1 vote
1 answer
447 views

Wrong available memory with LXC virtualization

I have virtualized operation system using LXC virtualization. That system reports wrong available memory - it is always same as free memory. By experiments I was able to use more memory than amount of ...
Tomas's user avatar
  • 306
0 votes
1 answer
1k views

Is there ipv6-only dns?

I have a system with ipv6 only connectivity. I'd disable ipv4 altogether, except it's pretty hard to remove, and stome stuff wants to talk to 127.0.0.1. It's a Linux system, running in an LXC ...
Brian Minton's user avatar
2 votes
1 answer
2k views

how to set static names for lxc-veth-devices on the host?

lxc is creating a new veth-device on the host for a container, each time, the respective container (re)starts. the name of the veth-device consits of "veth" and some random string. I cannot really see ...
coffeekid's user avatar
1 vote
1 answer
1k views

LXC: run command when USB device is connected

How can I execute a command in an LXC system container whenever a specific USB device is connected? Ordinarily, I'd use udev (cf. 1, 2, 3, 4, 5), but as far as I can tell, udev cannot be used inside a ...
Martin's user avatar
  • 135
3 votes
2 answers
5k views

lxd-type container static IP in profile

I am trying to set a static IP address in an lxd container. The container is made with: nonroot $ lxc launch images:centos/7/amd64 my_centos in a pretty bogstandard lxd (just the default apt-get ...
Willem's user avatar
  • 399
8 votes
5 answers
22k views

LXD containers and networking with static IP

I have done some Docker testing over the years, but for a specific kind of testing, I need a little more then just application containers. So I turned to LXC/LXD containers, which is great. After ...
Willem's user avatar
  • 399
1 vote
1 answer
389 views

LXC container: mktemp: failed to create file via template

On a fresh new container, I do: lxc-attach -n mycontainer -- apt-get install -y wget But the installation of wget fails partially with the following message ... Processing triggers for ca-...
Benoit Blanchon's user avatar
1 vote
0 answers
2k views

Memory hierarchies and kernel boot options

I'm booting a Ubuntu 14.04.3 LTS server on a Core-i5 T5200U machine with kernel boot options agp=off ipv6.disable=1 intremap=no_x2apic_optout biosdevname=0 audit=0. When I inspect dmesg, I see the ...
jww's user avatar
  • 12.3k
1 vote
2 answers
430 views

make / libc segfault in all arch linux containers

I'm getting the following when I run make (from any directory with or without a makefile): (gdb) run Starting program: /usr/bin/make [Thread debugging using libthread_db enabled] Using host ...
cronburg's user avatar
  • 716
2 votes
1 answer
5k views

Public static IP address for LXC container

I have a server running Ubuntu 14 (server edition), connected to a network using two network adapters. These two network adapters are configured in a bond to have network redundancy (in case one of ...
Flock Dawson's user avatar
8 votes
1 answer
9k views

Docker in Proxmox

I've setup a home server with Proxmox v4 and want to run a Docker container. How should I go about this? Should I just setup Docker inside an LXC container or should I create a full VM and use one of ...
GeneBean's user avatar
  • 215
4 votes
1 answer
3k views

no CUDA-capable device is detected inside LXC container

I followed the following instructions and read the official guide in detail in order to set up Cuda inside an LXC container. When I try to execute the sample ./deviceQuery script from the official ...
Greg's user avatar
  • 533
2 votes
2 answers
9k views

ssh root@"ip of lxc container" don't work

how can I enter in a lxc container using ssh? Because I follow many guide on that argument but I can't still enter in the container. [root@T410 andrea]# ssh [email protected] -vvvv OpenSSH_7.1p1, ...
Andrea di Paola's user avatar
1 vote
2 answers
2k views

LXC containers not accessible using .lxc dns domain on Ubuntu 14.4

I have carried out the expected configuration and had this functionality working in the past. The changes I made that had this working previously were: Uncommenting the LXC_DOMAIN="lxc" line in /etc/...
Dave Birch's user avatar

15 30 50 per page