I know nothing!

  • 20 Posts
  • 70 Comments
Joined 2 years ago
cake
Cake day: June 26th, 2023

help-circle










  • Honestly you can do either.

    LXC

    • shares host kernel (theoretically lighter weight)

    • less isolation from host (less secure)

    • devices are passed via device files

    • less flexible due to dependence on host

    • no live transfers

    • filesystem shared with host

    virtualization

    • has own kernel and filesystem

    • supports live transfers

    • hardware pass though is done at the device level

    • more flexible due to independent kernel

    • more overhead





  • How on earth are you getting 5 second boot time with LXC? My containers take around 10 minutes to boot while VMs take a few seconds. Also LXC networking seems to break randomly.

    Edit: I went back and figured it out. It was that IPv6 was set to dhcp in Proxmox which caused everything to halt until timeout. I set it to static in Proxmox and now it boots instantly