Systems and methods for executing dynamic code in a software container
AssigneeBanque Nationale du Canada
InventorAlain LAVOIE
Life of this patent
Estimating the term…
Abstract
A method for executing dynamic code in a container image is described. The method includes running a first instance of the container image; retrieving first computer code from a first defined location and executing the retrieved computer code in the first instance; running a second instance of the container image; retrieving second computer code from a second defined location and executing the retrieved second computer code on the second instance. A corresponding system and non-transitory computer-readable medium are also described.
Claims32
A method for executing dynamic code in a container image, comprising:
- running a first instance of the container image on a first host server;
- retrieving first computer code from a first defined location external to the container image;
- causing a code execution module in the first instance of the container image to execute the retrieved computer code;
- running a second instance of the container image on the first host server or on a second host server;
- retrieving second computer code from a second defined location external to the container image;
- and
- causing a code execution module in the second instance of the container image to execute the retrieved second computer code.
A non-transitory computer-readable medium having instructions stored thereon which, when executed by one or more processors, cause the one or more processors to:
- run a first instance of a container image on a first host server;
- retrieve first computer code from a first defined location external to the container image;
- cause a code execution module in the first instance of the container image to execute the retrieved computer code;
- run a second instance of the container image on the first host server or on a second host server;
- retrieve second computer code from a second defined location external to the container image;
- and
- cause a code execution module in the second instance of the container image to execute the retrieved second computer code.
A system for executing dynamic code, comprising:
- memory storing a container image, said container image comprising:
- a code import module configured to retrieve computer code from a defined location external to the container image;
- and
- a code execution module configured to execute the retrieved computer code;
- a first instance of the container image running on a first host server, wherein:
- the code import module of the first instance of the container image is configured to retrieve first computer code from a first defined location external to the first instance of the container image;
- and
- the code execution module of the first instance of the container image is configured to execute the first retrieved computer code;
- and
- a second instance of the container image running on the first host server or on a second host server, wherein:
- the code import module of the second instance of the container image is configured to retrieve second computer code from a second defined location external to the second instance of the container image;
- and
- the code execution module of the second instance of the container image is configured to execute the second retrieved computer code.
Dependencies are inferred from the claim text.