hardware wise. use a bsd. FreeBSD. there are reasons why hardware vendors are almost 100% BSD based.
Its rock solid and you can depend on it being engineered well.
Snaps , docker, and various other solutions are symptoms of a problem not a solution. The problem is userland is in a complete mess in linux. Fix the kernel and userland together, and everything flows.