Hello. I want to run the program in a container of type systemd/nspawn and not install it on the host system. Will this work? What are your recommendations? Right now I'm trying to use the following container options:
/etc/systemd/nspawn/virt.nspawn
[Exec]
PrivateUsers=no
Capability=all
[Files]
Bind=/dev/kvm
Bind=/dev/vhost-net
# BindReadOnly=/sys/module
# Optionally bind other devices if needed, for example, hugepages
Bind=/dev/net/tun