The invention relates to a method and a
system for improving
Java application program deployment efficiency based on a Docker technology. The method is suitable for
software operation. According to the technical scheme, the method comprises the steps that a Docker
mirror image capable of running a
Java program is obtained; packaging the incremental code after code modification on the basis of the Docker
mirror image, and uploading the incremental code to a
server; the incremental code in the
server is shared or copied to a container; compiling the incremental code shared or copied into the container and updating the incremental code into the
Jar; and restarting the updated container. According to the method, code modification is carried out on the Docker
mirror image capable of running the
Java program, the modified incremental code is packaged and uploaded to the
server, the incremental code file shared or copied into the container is compiled and updated, the updated container is restarted to realize
system updating, packaging, mirror image manufacturing and pulling of the full amount of codes are not needed, and the
system updating efficiency is improved. And the rapid deployment of the program can be realized only by uploading the updated incremental code to a specified path of the server.