I will be going on my first cruise in October. One of the ports of call will be Livorno. Since I have already visited Pisa and Florence, I would now like to go to Lucca. How easy is it to get there by public transportation?
Our ship (Nieuw Amsterdam of Holland America Lines) docks at 7AM and sails at 8PM. I read that there are 2 ports in Livorno but couldn't find where our ship will dock. How much time does it take to disembark/embark, how much time does it take to go to/return from Lucca by public transportation?

Thank you for any usefull tips,