At least 18 people were injured following a blaze on a cargo ship docked in the South Korean port city of Ulsan.