···13131414## Features
15151616-### `CONTAINER_NAMES`
1616+### Container Filtering
1717+1818+#### `CONTAINER_NAMES`
17191820Using this ENV changes Docker API responses:
19212022* Filters [List Containers](https://docs.docker.com/reference/api/engine/version/v1.48/#tag/Container/operation/ContainerList) responses so any container with a name that does not include a value from `CONTAINER_NAMES` is removed.
2123* Any other [Container](https://docs.docker.com/reference/api/engine/version/v1.48/#tag/Container) endpoints will return 404 if the container name does not include a value from `CONTAINER_NAMES`
22242323-### `SCRUB_ENVS`
2525+#### `SCRUB_ENVS`
24262525-When `true` any responses from the [Container Inspect](https://docs.docker.com/reference/api/engine/version/v1.48/#tag/Container/operation/ContainerInspect) endpoint will have `Config.Env` set to an empty array.
2727+When `true` any responses from the [Container Inspect](https://docs.docker.com/reference/api/engine/version/v1.48/#tag/Container/operation/ContainerInspect) endpoint will have `Config.Env` set to an empty array. This prevents leaking of sensitive `environment:`/`-e` variables that you passed to your container, over the network.
2828+2929+### More?
3030+3131+If I find use cases for filtering other endpoints they will be implemented in the future! Open a new Issue if you have ideas.
26322733## Example
2834