The invention belongs to the technical field of computers, and particularly relates to a distributed container
scheduling system and method based on a Docker
native API (Application Program Interface), and the method comprises the steps: creating a communication connection with a local host Docker engine through a resource obtaining module according to a Docker SDK (
Software Development Kit), and obtaining real-time resource data of a container managed by a local host; calling a preset self-defined index evaluation rule to evaluate node availability through an index evaluation module according to the real-time resource data, and constructing a
dynamic resource pool; a
decision tree is constructed through an intelligent scheduling decision module according to node information in a container managed in a local host, a
dynamic resource pool is used as a growth resource of the
decision tree, and a rule-based scheduling
algorithm is called to distribute real-time resource data to nodes corresponding to the
decision tree; and directly creating, starting, stopping and migrating the container through the management deployment module according to the
resource scheduling distribution result of the intelligent scheduling decision module. According to the invention, the problem of poor strategy flexibility of a distributed container scheduling technology in the prior art can be solved.