# `CONSFIGURATOR.PROPERTY.CONTAINER`

## API reference

### Container-related hostattrs

#### Property: `CONTAINER:CONTAINED`

`(container:contained &rest contained)`

Indicate that each of CONTAINED, a list of symbols, is isolated from the host system of this container, and so may be changed without fear of affecting the outside host.

Also implicitly marks this host as a container, such that property combinators which care about what’s contained will not assume that they’re running outside of any container.

This property is usually set by properties which establish containers, like CHROOT:OS-BOOTSTRAPPED, rather than being added to DEFHOST forms.

#### Function: `CONTAINER:CONTAINED-P`

`(container:contained-p &rest contained)`

Return non-nil if we are outside of any container, or when each of CONTAINED, a list of symbols, is contained by this container type.

#### Macro: `CONTAINER:WHEN-CONTAINED`

`(container:when-contained &rest &body propapps)`

Macro property combinator. Apply each of PROPAPPS only when outside of any container, or when each of CONTAINED, a list of symbols, is contained by this container type.