Overview
A space dock is a hypothesised type of space station that is able to repair or build spacecraft similar to maritime shipyards on Earth. They remove the need for new spacecraft to perform a space launch to reach space and existing spacecraft to make an atmospheric entry and landing for repair work. They currently only exist in fiction, however concept work has been undertaken on real space dock facilities that could be built with current technology.
Real world
Space docks, as part of a wider space logistics infrastructure, are considered a relevant part of a true space-faring society. Scientists of the American Institute of Aeronautics and Astronautics have proposed that future, near-term LEO space facilities should include "a large space dock making possible the on-orbit assembly and maintenance of large space facilities, space platforms, and spacecraft" (see image for design concept). A space dock / hangar could also allow enclosed (and possibly pressurized) maintenance of smaller spacecraft and space planes, though the construction of non-atmospheric spacecraft and other space facilities is envisaged as its main use. The structural strength of such a more advanced hangar would primarily be based on the internal atmospheric pressure that would have to be sustained for shirt-sleeve operations, thus enabling routine servicing and assembly in space.
The use for orbital maintenance could be especially critical for damaged atmospheric spacecraft, which are at great risk during reentry into the atmosphere, as was shown during the Columbia disaster. In the wake of the disaster, NASA improvised repairs to shuttles while in flight, a procedure which would have been much easier with a dedicated orbital facility. The use of a major space dock as a construction facility would also be required for the construction of an interstellar colonization starship built with current or near-term technology.
From Wikipedia (CC BY-SA 4.0).