Questions tagged [lxd]

62 questions
1
vote
0 answers

ufw allow responses from fixer.io

I have a webapplication that serves a gui via https to the public internet. This application runs inside an LXD container (ubuntu 18.04) on an LXD host (ubuntu 20.04). The container has two proxy devices forwarding port 80/443 to 80/443 of the hosts…
vrms
  • 287
  • 1
  • 7
  • 17
1
vote
0 answers

LXC No space left on device when trying to delete instance

I tried to follow the the LXC tutorial https://www.digitalocean.com/community/tutorials/how-to-set-up-and-use-lxd-on-ubuntu-16-04 When running command lxd init I used all defaults except 1GB as disk space (my disk remaining free space is just 20GB…
Thang Tran
  • 11
  • 1
1
vote
0 answers

How to delete all snapshots in lxd cluster?

I am trying to find a fast method, how to delete all snapshots in lxd cluster. The only way I see is using lxc delete container/snap for each snap. Am I missing something? Thanks
1
vote
1 answer

lxd: dnsmasq not resolving containers ip anymore

I have Lxd installed on an Arch system (from packages, not snapd), yesterday I rebooted the system after an upgrade and the name resolution of the fake domain .lxd stopped working; dns is provided on 10.0.10.1 from dnsmasq, launched by lxc-net…
Spuria
  • 11
  • 3
0
votes
1 answer

How to forward traffic from a specific domain from apache2 to LXC container

I am currently running apache2 on my server, but would like to forward http(s) traffic requesting a specific host (ex. lxc.example.com) to an LXC container which can be accessed by a local ip address on the box. I have looked into iptables, however…
0
votes
1 answer

lxdbr0 and host machine source based routing

I have fairly regular LXD setup (version 3.0.3) with the default bridge interface lxdbr0 on Ubuntu 18.04.2. On the other hand my host machines network is not the most regular. I have two bridges (br0 and br1), connected via two bonds to four…
0
votes
1 answer

Overhead of LXD

Question for server structure here. Is the overhead for LXD small enough to use it for per-process containers? E.G if I have a LAMP stack, media server, game server, etc. is it viable to split each of these into separate containers and how big will…
Prodigle
  • 103
  • 4
0
votes
1 answer

LXD container restricted to specific user

If I have 2 users with the 'lxd' group, user-1 and user-2. If user-1 starts a container, then I think that user-2 may stop it, destroy it or even run command on that container or connect via ssh to it. Is there a way to allow users to use lxc…
0
votes
0 answers

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:21b:44bc:1::12 dev ens3 I'm in a situation where I…
Peter Gloor
  • 101
  • 3
0
votes
1 answer

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. Can I use this? If so, how should I configure it?…
0
votes
1 answer

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 247G 249G - 44% 49% 1.00x ONLINE …
f4r4
  • 133
  • 6
0
votes
1 answer

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 mysql/mysql-server 5.5 5eb4590ee5eb 8…
0
votes
0 answers

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 responds. Is there some way to let the container…
rjt
  • 578
  • 6
  • 26
0
votes
1 answer

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 blaharmhf1 Gave this error Creating blaharm1d error: Failed…
ItsMe
  • 121
  • 2
0
votes
1 answer

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@ubuntu1704:~$ absolutely nothing happens ... no error…
a.atlam
  • 261
  • 2
  • 6