Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [lxd]

The tag has no usage guidance.

1
vote
1answer
124 views

Briding LXD Containers to VLAN

I was trying to do something that is supposed to be pretty easy but for some reason it not work. I want to bridge two LXD containers to the same VLAN. To do this I create the VLAN interface over the ...
0
votes
0answers
24 views

Windows Folder Redirection, setting permissions with windows ACL

I'm relatively new to Windows server management. I'm trying to setup folder redirection with GPO. The file server that's getting redirected is in a LXD fedora container. for the most part I've been ...
0
votes
0answers
19 views

Slow performance with nested bridged interface

On my HP Proliant microserver gen 8 box I have Ubuntu 18.04 running as host OS. Initially I was planning to setup one production VM (vm-prod) with multiple services inside lxd containers (vm-prod-lxd-...
0
votes
0answers
53 views

Unable to create LXC container with specific image

I recently hit issue with the creation of LXC container: tsenov@hometower:~$ createContainer.sh tester 1 256MB lxd_sp0 2 Creating tester Error: Failed container creation: Create container from image: ...
2
votes
1answer
90 views

Is lxd/lxc a suitable replacement to virtual machines (vSphere, for example) for server infrastructure? [closed]

I would like to move my servers to virtual machines. This is because it'll make it easier for me to fire up more machines and back them up in case the physical server is damaged (I'm not aware of ...
0
votes
0answers
93 views

How to set an IPv6 neighbour discovery proxy with Netplan?

How can I configure the following commands in Netplan? ip -6 neigh add proxy 2a03:4000:21b:44bc:1::1 dev ens3 ip -6 neigh add proxy 2a03:4000:21b:44bc:1::11 dev ens3 ip -6 neigh add proxy 2a03:4000:...
0
votes
1answer
86 views

LXD + ZFS on one-disc systems

I'd like to experiment with LXD on a dedicated NUC. Among other options, LXD supports ZFS. But I have the following questions: Case 1: Assume my NUC has one disc, say 256 GB, that supports the OS. ...
0
votes
2answers
188 views

How to resize lxc/lxd images, if i am using LVM backend?

i am using LXD few years and i am glad to use this platform in my testing environment. But few days ago, i couldn't install Microsoft Sql server 2017. The reason was, that i used default ZFS backend. ...
0
votes
0answers
86 views

Samba in a container and User permissions

Using Ubuntu 16.04 as the OS, ZFS as the filesystem for the storage and Samba in an LXD container, I want to do the following. The ZFS pool which will be used by Samba is owned by the root of the ...
3
votes
0answers
148 views

How to enable hostname resolution (dns) for lxd containers from the lxd host?

How to enable lxd hostname resolution from the lxd host? After creating the below container: >>> lxc launch ubuntu: container Creating container Starting container >>> lxc list +--...
1
vote
0answers
203 views

HAProxy returns 503 (80 & 443 frontends + redirections managed by virtualhosts)

I've already looked for many posts, but no one solved my problem... Let me explain the context : 3 containers on a dedicated server : [10.173.223.10] haproxy [10.173.223.11] Container_A (contains ...
0
votes
1answer
307 views

ZFS file system and zpool size allocation

I am using zfs on some of my lxc containers at start when I was configuring I allocated 500GB my zpool list NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT lxd 496G ...
1
vote
1answer
981 views

How to create a non-nat lxd network bridge (using lxd network)?

How to create a non-nat lxd network bridge? I have tried the below network configs, then ran sudo service networking reload and lxc stop and lxc start for the container in question. I was unable to ...
0
votes
1answer
600 views

Move LXD container to other storage

I have an issue with my current storage.img file (btrfs). I had 2TB data inside a container and so the storage.img got 2TB large. After this I deleted everything, leaving me with 100GB of real data. ...
0
votes
1answer
250 views

How run docker on VDS (lxd/containers)

I have VDS like lxd/container (I see it df -h). Os is installed debian 7.11. Kernel: uname -r 4.13.0-19-generic I want to run mysql in docker which installed into VDS. I pull mysql: docker images ...
0
votes
0answers
73 views

Is it possible to get dynamic lease of IP address from LXD container on Google Compute Engine?

Followed “Ubiquiti Networks UniFi Controller in an Ubuntu LXD Machine Container“ when setting up a new Ubuntu VM on Google Compute Engine. But the container tries to lease an IP address, but nothing ...
2
votes
0answers
210 views

LXD external static ip

I'm using LXD for managing LXC containers. I used the "standard" bridged NAT setup up to now. But know I got an additional static ip which is external available. I want to attach it to my container ...
2
votes
1answer
430 views

How to shrink btrfs image file used by LXD storage?

I have btrfs image file set as backend for LXD (2.18) but I would like to shrink it's size. What I did: mounted image to loop device losetup /dev/loop1 /home/btrfs.img mounted device to /mnt dir ...
0
votes
1answer
721 views

Authenticate to LXD rest API over network , certificate auth keeps failing

I am trying to access LXD REST API over the Network. Followed : Link to Doc. lxc config set core.https_address "[::]:8443" lxc config set core.trust_password <some random password> curl -s -...
0
votes
1answer
168 views

Failed to create armhf machine on LXD

I am trying to make ubuntu 16 armhf machine on ubuntu 16 64 host machine. I tried withafter installing qemu-user-static packages. Running this command lxc launch images:ubuntu/xenial/armhf ...
0
votes
1answer
173 views

CentOS7 LXC Container shell access on Ubuntu 17.04 Host

I know this is probably google skills deficiency on my behalf but for the love of god I cant shell into a CentOS 7 container on an Ubuntu 17.04 host. user@ubuntu1704:~$ lxc shell centos7 user@...
1
vote
1answer
48 views

LXC 2.0 Ownership problems

If I launch an Ubuntu 16.04 container and install for instance memcached on it, then almost all the processes /proc//* descriptors are owned by nobody.nogroup or 65334.65334 Where as if I would ...
1
vote
1answer
470 views

lxd with own br0 Network is Unreachable in centos conteiner

When I run lxd init I choose this setting. Would you like to create a new network bridge (yes/no)? no because I created my own br0 in /etc/network/interfaces source /etc/network/interfaces.d/* ...
1
vote
1answer
147 views

Limiting disk IO on LXD containers under a mdadm RAID 1 array

On a container running on a host with two disks on a mdadm RAID 1 array, I have tried without success to limit the disk IO of a LXD container named ci with: lxc config device set ci root limits.read ...
1
vote
1answer
967 views

Could not set limit for 'nofile' - “Operation not permitted” in a LXD unprivileged container

I am running a centos7 unprivileged LXD container on a ubuntu 17.04 host. I have a problem setting ulimit for NOFILE inside the container, if it is running in unprivileged mode. Bellow are the steps ...