The invention discloses a container collaborative arrangement method based on graph coloring. The method comprises the steps that based on a load conflict avoidance rule of graph coloring, a vertex coloring method in a graph theory is adopted to map container services into an adjacent matrix, and the adjacent matrix means an arrangement scheme of conflict avoidance of a container set; performancemonitoring of a container cluster is realized by introducing heartbeat messages, and containers are initialized and cooperatively placed according to real-time monitoring conditions; a dominant resource type of the service is evaluated and calculated within a specific time; and a resource depletion early warning threshold is set, the container is migrated to the optimal node according to the attribute of the dominant resource, and finally the original container instance is terminated to release the resource. According to the method disclosed by the invention, the problems of port conflicts, container copy conflicts, resource conflicts and the like in container scheduling are solved by cooperatively considering the resource heterogeneity of the memory, the CPU, the network I / O, the block I / O and the like of each node of the container cluster, and the fault tolerance and the reliability of container placement are ensured, so that the resource utilization rate and the application programperformance are improved.