---
title: Docker Stack Info
slug: homologacao-atmosphere/docker-stack-info
description: Learn about the "docker_stack_info" function, which retrieves valuable information about a Docker stack. Discover how this function helps you obtain a comprehensive list of stacks or tasks associated with a specific stack name. The returned data is conven
createdAt: 2021-10-15T13:36:09.000Z
---

## Resumo

- Retorna informações em uma pilha do docker

## Exemplos

```yaml
- name: Mostra informações da pilha
  docker_stack_info:
```

## Valores retornados

| Chave   | Tipo | Retornado quando | Descrição                                                                                                                                                                                                       |
| ------- | ---- | ---------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| results | list | always           | Lista de dicionários contendo a lista de pilhas ou tarefas associadas a um nome de pilha.<br />Exemplo:<br />"results": \[\{"name":"grafana","namespace":"default","orchestrator":"Kubernetes","services":"2"}] |

