Container ships are massive emitters of some pollutants like SO2, but not CO2.
Sources usually put the carbon number at around 3%.[1] this number has been rising in part because the denominator, global carbon emissions, has been falling as power has been emitting less.
[1] https://www.transportenvironment.org/what-we-do/shipping-and...