The invention discloses a componentized container construction
system, which comprises an external
software source module, a container component source module, a development
machine module and an execution
machine module, and is characterized in that the development
machine module reads an application program, analyzes
software dependent on the application program, confirms container component information and generates a dependent
software list; packaging the application program and the dependent software
list into a task closure; the execution machine module reads a dependent software
list in the task closure, obtains container component information meeting dependent
software requirements, selects a container component to be used, combines the container component and an application program in the task closure into a root
file system by using a joint
file system, and sends the root
file system to the execution machine module; and generating a configuration file when the container runs according to the configuration information in the container component and the task closure, and starting the container instance from the root file
system. The method for constructing the container in a modularized mode has the advantages of being small in size, fast in construction, cross-platform and high in sharing.