Patent attributes
Static parameters of a software container are identified that relate to metadata of the software container itself. The software container is assigned to a selected runtime environment based on the static parameters using a first machine learning model. Runtime parameters for the software container are identified by analyzing the software container at runtime. The runtime parameters relate to operations that the software container requires during runtime. Using a second machine learning model, it is determined whether the selected runtime environment matches the runtime parameters. Where the runtime environment matches, the software container continues to run in this environment. Where the runtime environment does not match, the software container is run in a different runtime environment that matches both the static and runtime parameters.