The comments about raising your seat are spot-on. The ergonomics in your seated photo look way off. Your local bike store can get you fitted into a bike that’s appropriate for your build and help you set the seat and handlebars. Can’t promise that your knee troubles will go away, but there’s a decent chance. Frankly, I’ve never heard about someone who has no problem with their knees while running, but has knee problems on a bike.
The comments about raising your seat are spot-on. The ergonomics in your seated photo look way off. Your local bike store can get you fitted into a bike that’s appropriate for your build and help you set the seat and handlebars. Can’t promise that your knee troubles will go away, but there’s a decent chance. Frankly, I’ve never heard about someone who has no problem with their knees while running, but has knee problems on a bike.
Good luck!