Currently, docks can only be built on the coast. The reason is that the generator can only generate rivers that are too narrow for docks. Hopefully, this will change in the future.