The invention relates to the technical field of port operation, and provides a 
visual positioning method and 
system for an unmanned container 
truck, 
electronic equipment and a storage medium. The 
visual positioning method comprises the following steps: collecting visual features including actual positions of a lane line and a bay mark in a map coordinate 
system; In the driving process of the unmanned container 
truck, the 
pose deviation of the unmanned container 
truck is obtained according to the visual position and the actual position of the visual feature in an image coordinate 
system of a first camera of the unmanned container truck, and positioning correction is conducted on the unmanned container truck, comprising: according to the visual position of the lane line and the actual position of the lane line, the transverse 
pose deviation of the unmanned container truck is obtained, and transverse positioning correction is conducted on the unmanned container truck; and according to the visual position and the actual position of the storage position identifier, obtaining the longitudinal 
pose deviation of the unmanned container truck, and carrying out longitudinal positioning correction on the unmanned container truck. According to the method, transverse and longitudinal positioning correction is performed on the unmanned container truck in combination with a visual map and a visual means, so that rapid and accurate positioning of the unmanned container truck is realized.