The present disclosure provides a computer-implemented method, computer system and computer program product for application containerization. According to the computer-implemented method, an application to be containerized can be traced. Information obtained in the tracing can be analyzed to determine one or more features of the application. An image template for the application can be created based on the one or more features. Then, a container image for the application can be built based on the image template.