Patent attributes
Implementations of the disclosure include a framework to provide an optimal execution environment for applications in software containers. In one implementation an apparatus is provided that includes a memory to store a plurality of application containers and a processing device coupled to the memory. The processing device is to identify an application to execute in a container associated with a first environment. A monitoring component is injected into the first environment to collect event data associated with an interaction of the application with one or more system resources. Using the collected event data, an indication of a restraint on an execution of the application is identified. Thereupon, one or more attributes are generated to update the application container to execute the application in a second environment in view of the restraint.