Skip to main content

Questions tagged [lxd]

The tag has no usage guidance.

2 votes
1 answer
1k views

How can I connect a single USB device to my LXC container?

TL;DR I have two software radio devices attached to my Linux server. I have an LXC container running on the Linux server. Both software radios have the same productid and vendorid. How do I attach ...
EdwardTeach's user avatar
0 votes
1 answer
136 views

LXD containers drops ICMP between one another

So I stumbled across an issue that I cannot figure out. I have setup two host machines each with two LXD VM containers. Both are running LXD via Snap. One host is running Ubuntu 22.04 with two Ubuntu ...
dbergloev's user avatar
3 votes
1 answer
296 views

Password of new user with LXD and Cloud-init

I'm trying to create a profile to automate the creation of a container, but I'm having trouble with cloud-init. For some reason the password is not being set for the user and is also not being added ...
Matheus Saraiva's user avatar
0 votes
0 answers
183 views

Centos 8 running as a LXD container fails to install packages: yum ailed to connect to mirrorlist.centos.org port 80: Connection timed out

Under Ubuntu, I created a Centos 8 LXD container: lxc launch images:centos/8 centoscontainer Then, I log into the container with lxc exec centoscontainer /bin/bash. I'm root, and I can access network ...
alci's user avatar
  • 137
0 votes
0 answers
383 views

After removing lxc device, still managed to access device from its boundary directory

I am using Lxd container for my sd card access in Linux based device. i mounted sd card with following commands mount /dev/sda1 /mnt/flash/sdcard. lxc config device add dhaneesh2 sda disk path=/mnt/...
Dhaneesh lal.D.R's user avatar
2 votes
1 answer
524 views

Using Docker Ubuntu image to learn Linux system-networking

Docker being an application container and not a system container like LXD, is it possible to use a Linux OS Docker image (say, for Ubuntu or Centos) to teach myself Linux, OS-level networking by ...
Harry's user avatar
  • 851
0 votes
1 answer
101 views

Lightweight Container solution (from Vagrant/Virtualbox to ???)

Up to now we used Vagrant+Virtualbox to set up development environments. The dev environment uses Ubuntu. This was great, because you can start the dev environment from Linux, Mac, Windows. But ...
guettli's user avatar
  • 347
2 votes
1 answer
2k views

Create a LXD CentOS container

With lxc1, lxd and lxd-client installed I can launch a ubuntu based container with lxc launch --profile default ubuntu:18.04 c1 I was wondering if it is also possible to lauch a container based on ...
onknows's user avatar
  • 827
0 votes
0 answers
111 views

Installing LXD Stucks

I upgraded my ubuntu version from ubuntu 16.04 to ubuntu 18.04 focal. After reboot, I was asked to install upgrades. But when I do sudo apt-get update sudo apt-get upgrade The seconds command ...
Steve Peng's user avatar
0 votes
0 answers
1k views

how to change from zfs to ext4

i accidentally create zfs pool to sda1 with sudo zpool create -f lxd-zfs-pool /dev/sda1 zpool status output is pool: lxd-zfs-pool state: ONLINE scan: none requested config: NAME STATE ...
user avatar
4 votes
2 answers
5k views

Increase the LXD/LXC Btrfs loop file storage pool size

Our production container crashed because its LXC storage pool is out of space. Here is dh -h from inside the container: Filesystem Size Used Avail Use% Mounted on /dev/loop0 82G 78G 2....
exebook's user avatar
  • 372
0 votes
1 answer
490 views

Ubuntu LXD iptables SNAT / Masquarade

i have Ubuntu Server with LXD. Every Container has own IP (local)address. Example: LXD Host: 10.10.1.200, DNS container: 10.10.1.141, LXC inside address: 10.71.85.107 Ok - that no problem, incoming ...
kazix's user avatar
  • 1
5 votes
2 answers
3k views

htop memory usage does not add up with process list

I am using lxd to run multiple containers and having trouble reporting the memory usage: both htop and free shows high memory usage but the list of processes that uses memory is very short and doesn't ...
user60177's user avatar
0 votes
1 answer
1k views

PREROUTING to LXC container with iptables

I've set up two containers with lxd, one with haproxy, pointing to the other with nginx. I want my server's incoming traffic on port 80 to go to the container with haproxy. This is the rule I've ...
user3459805's user avatar
0 votes
1 answer
2k views

How to ssh from one lxc container to another?

I'm trying to experiment with a small virtual cluster of machines to learn hadoop. I'm using LXD for this purpose. I've installed ssh servers on each vm and now need to connect from one vm to another. ...
user14660's user avatar
  • 172