The present invention relates to a container (20) designed for being inserted into a device (1) for preparing a frozen confection (17), said container (20) comprising a sealed flexible casing (25) and said container (20) containing ingredients (15) for producing a frozen confection (17) when being cooled and mechanically forced. The present invention further relates to a device (1) for preparing a frozen confection (17) from a container (20) inserted into the device (1). The present invention further relates to a method for preparing a frozen confection.