We study the existence of Fuchsian differential equations in positive characteristic with nilpotent p-curvature, and given local invariants. In the case of differential equations with logarithmic local mononodromy, we determine the minimal possible degree of a polynomial solution.