terraform-provider-docker/docs/data-sources/logs.md
renovate[bot] c33013cf0c
chore(deps): update actions/checkout action to v5 (#768)
* chore(deps): update actions/checkout action to v5

* chore: Update docs

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Martin Wentzel <nitram.wentzel@gmail.com>
2025-08-12 16:29:43 +02:00

38 lines
935 B
Markdown

---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "docker_logs Data Source - terraform-provider-docker"
subcategory: ""
description: |-
docker_logs provides logs from specific container
---
# docker_logs (Data Source)
`docker_logs` provides logs from specific container
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `name` (String) The name of the Docker Container
### Optional
- `details` (Boolean)
- `discard_headers` (Boolean) Discard headers that docker appends to each log entry
- `follow` (Boolean)
- `logs_list_string_enabled` (Boolean) If true populate computed value `logs_list_string`
- `show_stderr` (Boolean)
- `show_stdout` (Boolean)
- `since` (String)
- `tail` (String)
- `timestamps` (Boolean)
- `until` (String)
### Read-Only
- `id` (String) The ID of this resource.
- `logs_list_string` (List of String) List of container logs, each element is a line.