A cobalt film deposited on monolayer MoS2 can develop magnetic domains with preferred orientations linked to the crystal structure beneath it. XMCD imaging and XPS point to interfacial charge transfer as a possible contributor to this magnetic anisotropy.