Ferry docks are automatically built as a pair with a clear water route between them. The ferry boat can only follow a perfectly straight path so you need to place the docks where you have two parallel shores. They operates, every 30 in-game minutes.
It can be dismissed earlier if need by clicking on it and selecting Dismiss Vehicle. To remove ferry, you only need to dismantle/dump one of the docks or the ferry itself.