Rancher v/s Docker v/s Kubernetes compatibility

We are using Rancher 2.5.8. Our plan is to upgrade Docker MCR from 20.10.16 to 23.0.16 . Please let us know if Rancher 2.5.8 would work fine with new underlying docker version 23.X.XX