Hi guys!

The same way I hold some VMs for some apps I might not trust well enough to share with the rest of my OS/partition, I’d like to be able to do the same, but with LXC instead, possibly reducing overhead (and perhaps increasing ache in the head). I was wondering if the GUI Virt-manager can do this? It seems after installing libvirt-daemon-lxc, libvirtd, libvirt-client-qemu I’m able to connect to the LXC daemon in my system. However, I’m not sure how to follow a similar process as perhaps Proxmox, to build a, say, fully blown ubuntu LXC from a template. How should I do this?

Thanks!

    • iturnedintoanewt@lemm.eeOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      4 days ago

      Yup! I got that far. But when I try to create a new VM/container using LXC instead, I’m prompted for an URI. i have no idea what I’m supposed to enter there. In Proxmox it just downloads the templates itself from its own repository, but i have no idea what I’m supposed to input here. I didn’t find any guide about this :(

      • bizdelnick@lemmy.ml
        link
        fedilink
        English
        arrow-up
        3
        ·
        4 days ago

        It asks for a path to a root directory of a bootstraped container. You can create it with debootstrap, rinse, pacstrap, alpine-chroot-install, virt-bootstrap etc.

        • iturnedintoanewt@lemm.eeOP
          link
          fedilink
          English
          arrow-up
          2
          ·
          4 days ago

          Thank you for the information! Since Proxmox does this by itself with those templates it uses, I never did this process. I guess I’ll check some guide…thanks a lot!