In October 1838 the foundation stone of the docks was laid and the first dock opened in 1842.