Patent ID: 9183008
Filing Date: 2015-11-10
Classification: G06F

Abstract:
1. A method for starting an application program in a Linux container, comprising: creating, by a container start process, a container according to a command entered by a user, wherein the container start process subsequently exists as a container daemon of the container; creating, by the container start process, a first application start process, and putting the first application start process into the container for execution; obtaining, by the first application start process, according to the command entered by the user, a number N of application programs to be started, and creating N−1 second application start processes, wherein N is a positive integer not less than two; and starting, in the container, by the first application start process and the N−1 second application start processes, the N application programs to be started, wherein starting, in the container, by the first application start process and the N−1 second application start processes, the N application programs to be started comprises starting, by the first or second application start process, according to a set mapping relationship, a corresponding application program to be started, wherein the mapping relationship is a mapping relationship between, the first application start process and the N−1 second application start processes, and the N application programs to be started.