To provide the docking mechanism of the computer which is reduced in fault rate and manufacture cost by simplifying the structure.
This docking mechanism is characterized by that a notebook type personal computer 2 is stored in a storage space 4 formed by providing an opening part 3 to a desktop type personal computer 1 and the desktop type personal computer 1 and notebook type personal computer 2 are docked together. In this case, a spring 5 is provided in the storage space of the desktop type personal computer 1 and freely expands and contracts in the insertion direction of the notebook type personal computer 2 and a lid 6 opens and closes the opening part 3 of the desktop type personal computer 1; and the notebook type personal computer 2 is positioned and held between the spring 5 and lid 6.