Docker is nowadays a most popular containerization platform. Its quick development causes frequent API changes and the provided tools often not satisfy the need of all users. The common method for creating container images for this platform is to use a docker builder, which has some missing features, that the company behind is not going to implement. This component does not allow defining secrets , that will not be present in the final image. Docker builder also cannot influence the layering of the resulting image. To solve these problems as well as the lack of better metadata handling is the target of this thesis.