Skip to main content

Questions tagged [lxc]

The LXC tag is for questions relating to LinuX Containers and lightweight virtualization capabiliaties, issues, and troubleshooting.

0 votes
0 answers
15 views

Upgrade Jammy to Noble brokes up LXC container

If I'll install Ubuntu Jammy (host running on Jammy too) in LXC container, and try to upgrade to Noble like this: do-release-upgrade -d While apt upgrading system, container will be simply stopped, ...
GtaSaKompanion's user avatar
0 votes
0 answers
20 views

Keep getting error on LXC preseed.yaml for profile and LVM configuration

I am trying to create a preseed.yaml for our LXD environment in which I can use a profile to setup VMs with an 80GB disk and have it pre-configured using LVM for the partitions. I have a preseed.yaml ...
Swampcritter's user avatar
0 votes
0 answers
164 views

Ubuntu 22.04 k3s on LXC(No LXD) open /dev/kmsg: operation not permitted

I am trying to install the k3s on a LXC(no LXD) container. I create the container like this, lxc-create -t ubuntu -n master1 -- -r jammy My container config looks like this, linux.kernel_modules = ...
jnan's user avatar
  • 1
1 vote
0 answers
81 views

LXD UI Not Recognizing Certificates over NGINX Proxy Manager

I am hosting an LXD instance with the UI enabled. I have passed through the UI via NGINX proxy manager and Cloudflare is proxying the connection with DNS from a subdomain. On my local network, I can ...
Christopher Allen's user avatar
0 votes
0 answers
188 views

Mounted USB Drive with bind mount in container, capacity showing less than drive contains

I have a 2TB SSD connected to my host device (Proxmox) and am passing it through to a container running Ubuntu. In my Proxmox host, I can see the full drive: Drive image in host showing 2TB I have ...
LearningSwift's user avatar
0 votes
1 answer
164 views

issue with ssh into lxd container using ansible

I have created a dynamic inventory which fetch the created lxd containers (so that I don have to type the name of container each time) so here is the dynamic inventory plugin: community.general.lxd ...
Zakaria Ait Yakoub's user avatar
0 votes
2 answers
322 views

LXC container cannot ping 8.8.8.8 or other outside ip

I run a LXC container on my "Ubuntu 23.04" VM by UTM on my mac laptop but I cannot ping 8.8.8.8 in my LXC container. I downloaded lxc via snap note: I have search many info to fix the ...
Harris's user avatar
  • 1
0 votes
0 answers
449 views

netplan/udevadm broken in Ubuntu 22 LXC containers

The physical host is running 18.04.6 LTS and LXD/LXC 3.0.3. I have two unprivileged containers, one Ubuntu 18.04 container and a new Ubuntu 22.04 container. (Using the default images that lxc launch ...
Curtis's user avatar
  • 101
1 vote
2 answers
279 views

snapcraft stuck on instance status preparing

I'm trying to follow the snapcraft tutorial on Ubuntu 22.04. I've installed and initialized lxd and snapcraft. When I run the snapcraft command it seems to hang on instance setup and eventually fails. ...
Tyler Weaver's user avatar
0 votes
1 answer
847 views

How to bridge an LXD network for internet access?

I'm using LXD 4.0.9 on Ubuntu 20.04, created a network, a profile, and added storage to a drone like the following ... $ lxc network create drone_lan ipv4.address=none ipv6.address=none $ lxc profile ...
Ender's user avatar
  • 125
0 votes
1 answer
203 views

lxd/lxc adding storage pool fails with "outside mount path"

I have installed two additional NVMe 7TB SDD as RAID1 with btrfs (having an already running btrfs RAID1 with 1.8TB in an existing storage pool containing 7 containers) Adding the 7TB RAID1 as a ...
MarcelR's user avatar
0 votes
0 answers
54 views

WIN11 VM Does Not Start

I recently installed win11 vm using the method shown here https://ubuntu.com/tutorials/how-to-install-a-windows-11-vm-using-lxd#1-overview. I finished the installation up to end of step 3 where ...
Tonni's user avatar
  • 1
0 votes
0 answers
178 views

I want to create containerd/config.toml file for local lxc containers

0 I've been trying and looking for a solution to use my local lxc containers images to get loaded in my local k8s cluster. By this, I have a Dev Environment, which has few lxc containers and images. I ...
Hyp3rActiv3's user avatar
0 votes
0 answers
139 views

Troubleshooting lxc launch issues from custom image

There is an image exported from another system, about 5GiB in size (compressed), estimated 13GiB uncompressed. root@cluster04:~# lxc launch testimg test-container --storage remote -d root,size=50GiB ...
Ildefonso Camargo's user avatar
0 votes
0 answers
195 views

How to specify a storage pool for images?

Let's say I have two storage pools configured. On the first one I want to deploy Ubuntu-based containers, and on the other, for example, Debian-based containers. How to specify a pool when copying an ...
doks's user avatar
  • 11

15 30 50 per page
1
2 3 4 5
30