lxc containers , can I pass a usb and full hard drive like a VM ?.

peter247

Member
Dec 31, 2021
66
6
13
64
I'm looking into if I can converting my linux VMs running Emby and Home assistant into lxc containers.
But I need to pass a usb zstick with Home assistant and pass a full zfs hard drive to Emby .
A lxc container doesn't look to be as versatile as a VM with only memory , CPUs , and disk space.
I've set up my first lxc container yesterday running docker and pihole and can see why 156 megs of ram and zero % CPU on 1 core compared to 1.5 gb and 1% on 4 cores.
 
A LXC should be even more versatile because of the missing isolation so in contrast to VMs your LXCs can use the hosts hardware without passthrough. But you need to edit your LXCs config file by hand.
 
A LXC should be even more versatile because of the missing isolation so in contrast to VMs your LXCs can use the hosts hardware without passthrough. But you need to edit your LXCs config file by hand.
o.k , so I need to edit eg "/etc/pve/nodes/pve/lxc/110.conf" ? , any clues what to add or which part of the manual ?