I'm sure they do, also, all Navy ships have a complement of firefighters trained for shipboard firefighting. However, any fire aboard a ship is extremely difficult to fight because of all the compartments, bulkheads and other separations. Also overall access very difficult in many cases.
The Navy tugs which have been seen in various photos and videos of the incident on the other hand, each have two 2,000 gpm Stang monitors, so they have more fire fighting capability than the SFFD boat.
Major port cities with a large US Navy presence use Navy resources for mutual aid. (San Diego, Bremerton, Norfolk)How is it that a major port city like San Diego doesnt have better marine firefighting apparatus?