Deletes every attachment attached to the given container.