Containers of variable capacity