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

420 questions
0
votes
1 answer

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
  • 892
  • 5
  • 15
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…
user3271961
  • 119
  • 4
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
  • 5
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
  • 285
  • 3
  • 16
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…
0
votes
1 answer

systemd 219 capabilities behavior

We're running systemd verson 219 on CentOS 7, inside an LXC container, and we're having trouble with capabilities. systemd appears to be dropping capabilities, contrary to the systemd.exec(5) man page. I have a C program and a shell script that…
stolenmoment
  • 181
  • 1
  • 4
0
votes
1 answer

LXC: Create privileged container that can execute mknod

I'm trying to figure out how to build Ubuntu Core 18 on my Raspberry Pi. It seems like the best way to do this is to use an LXC container. However, I'm getting this error when I snapcraft --destructive-mode the github repo. [ -e…
Will Nilges
  • 67
  • 1
  • 9
0
votes
0 answers

Docker in unprivileged LXC container freezes host system

I am running docker in an unprivileged LXC container (alpine) on a proxmox host system. The container has nesting enabled. What i discover is that on high memory consumption in the container, the whole host system becomes unresponsive. Only help is…
0
votes
1 answer

lxc-start does not work in a cron script

This script runs fine in the console, but fails to start the container in cron. So, lxc-stop will work fine in cron, but lxc-start won't The cron message I receive is lxc-start wait_on_daemonized_start: 833 No such file or directory - Failed to…
Dax
  • 294
  • 2
  • 11
0
votes
1 answer

When should we use containerized application on Linux

I would like to create a Linux server but I'm stuck on one question: How to know when I should use Docker or Lxc for a given application instead of installing it natively ? For example, on my server (maybe CentOS minimal or Arch Linux or Alpine…
locobastos
  • 15
  • 1
  • 1
  • 8
-1
votes
3 answers

Can Docker Corrupt a Software RAID Setup?

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 server? Thanks
mh00h
  • 109
  • 5
-1
votes
1 answer

OpenVZ Web panel: no such file to load when add physical server

I'm trying to use on my (testing) lxc server. I've on my server "potager.local": root@potager:~# lxc-list RUNNING FROZEN STOPPED web I've installed OpenVZ Web Panel on it and it run correctly. So web interface is accessible with http://…
bux
  • 626
  • 2
  • 6
  • 20
-2
votes
1 answer

Even with root user Im receiving 'Operation not permitted' when try creating gluster volume between Ubuntu 14.04 LXC containers

Even with root user Im receiving 'Operation not permitted' when try creating gluster volume between Ubuntu 14.04 LXC containers. Need test the solution locally before install it on prodution and even locally i cant install. xfce4-terminal -T…
Mark
  • 47
  • 7
-2
votes
1 answer

Link containers on cockpit

I think this is a pretty common scenario, but I don't seem to find a solution. Given: 1. A container with an application that requires a database, 2. A database container; I need to link those containers so the application uses the database. I have…
grilix
  • 117
  • 4
1 2 3
27
28