Hi all,

How can i set the ip of an nspawn container which has Boot=no in .nspawn file?

I am not even sure if this is a good idea, its just something im
trying to do and failing.

The idea is to run a binary like stalwart mail server in the nspawn
container, but have the container run only that binary (musl binary).
Since id like to avoid having a shell and other binaries / processes
in the container, i would resort to having Boot=no in the .nspawn
file.

Also, i would like that nspawn doesnt open ports on the host itself,
id rather have it manually forwarded by nftables on host, which means
no Port= option in .nspawn.

Does any of this make sense?

Thanks,
Miroslav

Reply via email to