Containers with compartments made of pressed material