Vessels including fuel tankers docked at the sea port of the Libyan capital were evacuated on Tuesday after an attack, two port officials said.