Does this help;
a taxi to the downtown area of SF should run around $25-30 and since there are so few cruises that leave from there, that is what I would do.
there are also van transfers available to the downtown hotels so I don't see why they couldn't take you to the dock as well. They are cheaper but you have to arrange in advance for quicker service. A taxi is there waiting for you ready to go.