---
title: Customer Container Facts
slug: homologacao-atmosphere/customer-container-facts
description: Learn how to determine if your module is running in a Docker container with this informative document. Discover examples and values returned, including container ID and type. Additionally, find out how the module can detect if it is running in a container
createdAt: 2021-10-14T20:36:47.000Z
---

## Resumo

- Retorna fatos sobre se o módulo é executado em um contêiner do Docker.

## Exemplos

```yaml
- name: Obtenha fatos sobre o contêiner atual
  current_container_facts:
```

## Valores retornados

| **Chave**                                  | **Tipo** | **Retornado quando** | **Descrição**                                                                                                                                  |
| ------------------------------------------ | -------- | -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| atmosphere\_module\_container\_id          | string   | sempre               | O ID do contêiner detectado. Contém uma string vazia se nenhum contêiner foi detectado.                                                        |
| atmosphere\_module\_container\_type        | string   | sempre               | O ambiente de contêiner detectado. Contém uma string vazia se nenhum contêiner foi detectado. Caso contrário, será docker ou azure\_pipelines. |
| atmosphere\_module\_running\_in\_container | string   | sempre               | Se o módulo foi capaz de detectar se ele é executado em um contêiner ou não.                                                                   |

