Read the title, docking only works on spaceplanes when trying to fly at a space station (in the map.) it searches for a docking port if one is available and automatically adding a docking port when space stations are made. (Sorry for my grammar.)