One Carnival cruise ship crashed into another while trying to dock at a port in Mexico on Friday, leaving six injured passengers, a damaged hull and a handful of expletive-laden social media videos in its wake.

The crash happened as the Carnival Glory cruise ship was “maneuvering to dock” in Cozumel, an island off the Caribbean coast of Mexico, and struck the Carnival Legend, which was already docked, Chelsea Stromfeld, a spokeswoman for the cruise line, said in an email.

Ms. Stromfeld said six passengers sustained “minor injuries,” including one who was hurt while a group of guests were evacuating a dining room on Decks 3 and 4.

“We are assessing the damage but there are no issues that impact the seaworthiness of either ship,” she wrote. “We have advised guests from both ships to enjoy their day ashore in Cozumel.”