"盛蛋糕的铁制容器" can be translated as "an iron container for holding cakes" or more concisely as "an iron cake container". Both expressions convey the meaning accurately, with the first one providing a bit more detail about the purpose (holding cakes) and the second one being more straightforward. Choose according to the context and your preference.