If you place down a ship core in an uninitialized chunk, it spawns one but it doesn't create a rail docker. I'm not entirely sure if it is related to initialized/uninitialized chunks but moving far enough from a new ship core should cause a rail docker to not spawn. It's fine when you're close enough.