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

LXC provides operating system-level virtualization not via a full blown virtual machine, but rather provides a virtual environment that has its own process and network space. LXC relies on the Linux kernel cgroups functionality that became available in version 2.6.29 and is now available in all newer kernel versions. Cgroups was developed as part of LXC. It also relies on other kinds of namespace-isolation functionality, which were developed and integrated into the mainline Linux kernel. LXC is similar to other OS-level virtualization technologies on Linux such as OpenVZ and Linux-VServer, as well as those on other operating systems such as FreeBSD jails. LXC Containers can define various cpu limits, memory limits etc. (In short all parameters that can be set via CGROUPS) to prevent any one container from interfering with all other containers running on the same LXC host. LXC uses the linux bridge-utils commands to create local VLANs, and attach containers and physical interfaces to them. With containers the physical overhead (ram, swap space, one kernel per VM, plus hypervisor) that is present in virtualization methods is reduced. With containers, one kernel and one virtual memory space is shared between all the containers running on that host. For a comparison of other Operating System virtualization techniques, see this link

414 questions
0
votes
0 answers

Redis-server does not work properly in debian bullseye lxc

I have a server with debian 10.11 (buster) and lxc (from debian repos, 1:3.1.0+really3.0.3-8) installed. When I create a new lxc container (bullseye) (using lxc-create -t download -n redis-container -- -d debian -r bullseye -a amd64) I get a new,…
0
votes
0 answers

Connection Refused between 2 VM containers

On my host Ubuntu 18.04 I am running two lxc containers using default setups. Containers use Ubuntu 18.04 as well. I have an app running on container1 that offers an https based service on https://localhost:3000/. Container2 is not able to even…
Mnemosyne
  • 127
  • 5
0
votes
1 answer

Can I restore a Vzdump tar archive to an LXD/LXC container

I have a number of "tar" files created from an old proxmox 6 server, using the vzdump tool. The person that originally created them has left the company, and the company has changed it's container server from "Proxmox VE" to a standard Linux Ubuntu…
shawty
  • 293
  • 4
  • 13
0
votes
0 answers

deciding on docker architecture setup and performance

I will need to virtualize a jenkins software architecture and I don't know which architcture will be more efficient. I need : a jenkins server an opensuse server for c/c++ 64 bits compilation an msys2 system for win32 compilation and packaging…
sancelot
  • 101
  • 1
0
votes
1 answer

What is an appropriate backup strategy for LXD with BTRFS storage backends

I'm about to re-configure my home server from scratch and am wondering what would be the best strategy to backup my LXD containers. Meanwhile I am running Ubuntu 20.04 LTS and have some services configured to run as LXD/LXC containers. For…
sandman85
  • 1
  • 3
0
votes
1 answer

How to mount glusterfs at boot in centOS 7 lxc container?

Need to get a glusterfs volume mounted in a centos 7 lxc container. found this and can do it manually ok... But it seems that adding it in the fstab doesnt work because it gets executed before gluster client is functional? fstab: host:/gv0/Data…
jstnewb
  • 31
  • 4
0
votes
1 answer

Can't get LCX bridge to work

I can't get a network bridge under (a up to date) arch-linux as a host to work: I am aware that the lxc default is read on creation time of the container (I created a new container after changing the network settings). (base) [r0b3@toshi ~]$ sudo…
Quonux
  • 111
  • 4
0
votes
0 answers

How can I create the .conf file for a LXC container restored from a backup that comes from Proxmox?

I can restore the backup with the tar command but I lack the .conf file from the original Proxmox server it comes from. I restore the backup on a Debian 10 server. Can I create the .conf file on the fly without copying it from the original Proxmox…
ballatom
  • 21
  • 4
0
votes
1 answer

LXD Container IPv4 Interface Management

Ubuntu 18.04.4 lxd 3.0.3 lxc 3.0.3 I have had several containers running without issue for a long time. Today I was making changes to my network and one of the containers picked up a DHCP address. user@localhost:/tmp$ sudo lxc list…
0
votes
0 answers

Chronyd inside LXC conatiner

It seems like chronyd doesn't work in lxc containers. The containers running are not unprivileged. Following is showing up with systemd: ● chronyd.service - NTP client/server Loaded: loaded (/usr/lib/systemd/system/chronyd.service; enabled;…
Lorem ipsum
  • 852
  • 3
  • 13
0
votes
0 answers

Proxmox | /etc/default/pveproxy file

I have a small problem. I was trying to disable access to the proxmox web panel for the ip address and enable it for my domain. As I saw on the proxmox website (https://pve.proxmox.com/pve-docs/pveproxy.8.html) I can create the pveproxy file for…
0
votes
1 answer

Does LXC support XFS filesystem?

I am working on my local system and I want to run both docker and LXC containers. Docker provides storage options that only works with XFS to limit the storage volume inside containers. But that storage limit doesn't get applied if I use BTRFS or…
0
votes
1 answer

Creating an Alpine container in LXC on top of Ubuntu

I've got a new server spun up with Ubuntu Server and LXC installed for apt. I've been reading the docs and trying to understand how to import images/templates. I'm having a hard time understanding how to import a list of public images and…
ddibiase
  • 133
  • 1
  • 4
0
votes
1 answer

Strange permission issue for SpamAssassin in LXC container

My mailserver set-up is quite old, but did its job for many years. With the last major update from Debian 9 to 10, SpamAssassin stopped working. Today I took the time to search for reasons, and I do not understand what I found. Running spamassassin…
Lars Hanke
  • 281
  • 2
  • 15
0
votes
1 answer

Fedora 31 LXC service failed to start "Failed to start FUSE filesystem for LXC"

I'm trying to setup LXD system for test environments on Fedora Desktop workstation but the LXD service just wont start because the dependency service LXC fails. After trying to start the sudo systemctl start lxd.service the error message journalctl…
1 2 3
27
28