The invention relates to a container application migration method and
system and a storage medium, and the method comprises the steps: extracting a dependency
list and call information through a script, compiling a
source code of a current architecture of a container application into an
executable file under a target architecture, replacing a dependency
library file under the current architecture of the container application with the dependency
library file under the target architecture, and carrying out the migration of the container application. Based on the dependency
list and the calling information, using the basic
mirror image of the target architecture to reconstruct the container
mirror image so as to ensure that the container application can run on the target architecture, intercepting and redirecting the
system calling through an LDPRELOAD mechanism so as to enable the
system calling to adapt to the target architecture, and using a cross compilation tool chain so as to improve the system calling efficiency. And replacing the
instruction set of the current architecture with the
instruction set of the target architecture, and carrying out container application migration operation. The dependency
list and the calling information are extracted through the script, so that the possibility of omitting the dependency list and the calling information required by operation of the container application is reduced, and efficient and stable operation of the container application on the target architecture is ensured.