Ive had simlar issues. In general I find that I have to muck around with the orientation of the dockers if I'm trying to dock turrets to the side of something. E.g you are in the turret, move your view left and it moves the view right, up becomes down etc.
Maybe I'm just an idiot, but I don't...