How to inherit settings between containers

Containers can inherit settings from another container. Using inheritance is a general best practice but is especially useful in larger setups where variants of similar containers exist.

Setup
adk.config()
    .addContainer('super-container', adk.container.config()
        .provider('adk.hello')
        .label('Super container label'))
    .addContainer('sub-container', adk.container.config()
        .extends('super-container')
        .labelAlign('right'))
    .apply()
    .init(advisibleID)
Result