Samba5 AD, DNS Nethserver8

You can install the Debian’s editor, or use podman unshare to edit the file with the host’s text editor as written above (Samba5 AD, DNS Nethserver8 - #2 by davidep), to preserve the correct file ownership and context.

Additional packages are lost on container restart.