We did a ship's shorex there and the Dandenongs a few years ago with Princess, I am not sure what other lines offer.
In any case, there are tour companies that offer it from the city, perhaps see if they can offer a private tour or a pick up from the cruise terminal.
https://www.visitmelbourne.com/regions/melbourne/see-and-do/tours/melbourne-elite-tours-pty-ltd/dandenong-ranges-day-tour