The invention discloses a multi-cluster container scheduling method based on a
mirror image layer in an
edge computing environment, which comprises the following steps of: establishing a
system model of a multi-cluster
edge computing environment, and comprehensively describing communication
modes inside and outside clusters,
resource constraints of nodes, a dependency relationship of a container
mirror image layer and the like; analyzing task scheduling requirements and optimization requirements of
mirror image layer downloading, establishing a corresponding
mathematical model by combining node computing resource limiting conditions, task scheduling requirements and mirror image downloading time
delay which need to be met in an
edge computing environment, and proposing a method for optimizing the task scheduling requirements and the mirror image downloading time
delay by minimizing container starting
delay. A scheduling
optimization problem aiming at ensuring resource load balancing between clusters is solved; using a
heuristic method to quickly screen out candidate edge nodes, and using
linear programming to optimize task allocation; calculating the load balance degree between clusters in the edge computing environment, and adjusting the task allocation condition according to the resource load degree of the edge cluster; and for the mirror
image layer downloaded by the
edge node, the downloading sequence is optimized by using
dynamic planning.