A capsule for containing beverage ingredients may be designed for insertion in a beverage production device in which a liquid under pressure enters the capsule to drain a beverage from the capsule, wherein the capsule includes a circumferential first wall, a second wall closing the circumferential first wall at a first end, and a third wall closing the circumferential first wall at a second, open, end opposite the second wall, the first, second and third wall enclosing an inner space including the beverage ingredients, wherein the capsule includes a sealing member for achieving a sealing effect between the capsule and the beverage production device, wherein at least one of the first, second and third wall as such is configured to act as the sealing member.