Containers don’t run kernels, that’s what separates containers from virtual machines.
But yes, the vast majority of Linux distributions run just fine with a variety of kernels.
We’ve been able to run Linux distributions from over a decade ago on modern 5.12 kernels and the reverse tends to be easier as most libraries know to fallback to older kernel features when the new stuff isn’t available.
Containers don’t run kernels, that’s what separates containers from virtual machines.
That is true, but the container system doesn’t know about it. Or am I wrong ?
Then I will update the container as usual: apt update && apt upgrade && apt full-upgrade && apt autoremove.