A Panamanian ship docked safely at Calcutta on Friday, a day after it was hijacked near the port by an armed group, officials said.