The nfs-kernel-server package should not be present in the container or container image.
Remove the nfs-kernel-server package from Containerfile and rebuild the container image.
If the system does not export NFS shares or act as an NFS client, it is recommended that these services be removed to reduce the remote attack surface.