The invention discloses a Docker migration method and system for a cloud data center. Load information values of all physical nodes in a cluster are collected and quantized; when the condition that the load of a certain node reaches a set threshold value or a container is suspended due to damage is monitored, feedback information is generated, a to-be-migrated container is selected on the overloador no-load node by using a hotspot container selection algorithm, affinity matching is performed according to a resource demand vector of the to-be-migrated container and the residual resource quantity of other nodes, and a target node set is selected. Then, in the target node set, an optimal target node is selected according to a probability selection algorithm, and the to-be-migrated containeris migrated to a target node to recover execution. According to the method, the container migration method is designed by taking the minimum migration amount, the shortest migration time and the lowest energy consumption as principles, so that the loss of the cluster caused by the fault of a certain computing node can be effectively reduced, the reliability and the utilization rate of the existingcluster are improved, the load balance is realized, and higher availability is provided for the cluster.