First of all: Get the Instance it’s own VPS - Lemmy instances are very very fluid with their resources requirements and you don’t want the instance to bog down other services you use. Use another cheap VPS instance for your other services and link them up within Hetzner if needed.
This is even more the case if you host a public instance. I would even consider using separate accounts (even though Hetzner does officially not allow that) for that. Because if one of your users does something Hetzner finds ban worthy they will,under ideal circumstances, at least stop your VPS/quarantine it. (Been there) If you are really unlucky (CSAM material posted or federated in your instance) you will get your whole account banned. Which means all your other services are gone,too. (happened to someone I know)
Don’t get me wrong,Hetzner is great, I love them. But be aware of these points. They are very proactive when it comes to these points.
Beside that: Use Docker.
Basically all countries with mandatory military service have similar laws- in Germany it is “Wehrpflichtentziehung durch Verstümmelung” (which covers more than mutilation and has been used in similar cases), in Austria it’s “Herbeiführung der Dienstuntauglichkeit”, in Switzerland “Schwächung der Wehrkraft durch Verstümmelung”, in Finnland it’s “Avoidance of service”, in Sweden it can be found under treasonable offences, etc.