Just to add to what Jill SC has said, we have been to Skagway twice and the Norwegian ship we were on both times docked very close to where you get on the train. We did book an 8 a.m. trip and the train waits until the passengers get on. It's only a short little walk to get on the train and people with signs are on the dock to show you where to go.
Judy