There is high requirement to the foundation of the raceway of container gantry crane. However, the marine soft soil is distributed extensively at Dalian ports. In the paper, the settlement and bearing capacity of natural and composite foundation of raceway of container gantry crane under design load is analyzed by finite element method on the basis of geological data, foundation treatment. The relationship of different deformation modulus and foundation bearing capacity is obtained by considering the strength of foundation and the requirement of settlement. The settlement and the inclination value of two sides of container gantry crane which is less than the permitting value of laws under consolidated ground and corresponding load condition is obtained. The corresponding deformation modulus of consolidated ground is obtained under different load condition. The boundary of basis is easy to failure, the treatment range extension of foundation should be considered.