mirror of
https://github.com/kreuzwerker/terraform-provider-docker.git
synced 2025-12-20 22:59:42 -05:00
* chore(ci): Update website-generation workflow * chore(docs): Apply new formatting. * chore: Add update go.mod and go.sum files.
1.2 KiB
1.2 KiB
| page_title | subcategory | description |
|---|---|---|
| docker_plugin Data Source - terraform-provider-docker | Reads the local Docker plugin. The plugin must be installed locally. |
docker_plugin (Data Source)
Reads the local Docker plugin. The plugin must be installed locally.
Example Usage
### With alias
data "docker_plugin" "by_alias" {
alias = "sample-volume-plugin:latest"
}
### With ID
data "docker_plugin" "by_id" {
id = "e9a9db917b3bfd6706b5d3a66d4bceb9f"
}
Schema
Optional
alias(String) The alias of the Docker plugin. If the tag is omitted,:latestis complemented to the attribute value.id(String) The ID of the plugin, which has precedence over thealiasof both are given
Read-Only
enabled(Boolean) Iftruethe plugin is enabledenv(Set of String) The environment variables in the form ofKEY=VALUE, e.g.DEBUG=0grant_all_permissions(Boolean) If true, grant all permissions necessary to run the pluginname(String) The plugin name. If the tag is omitted,:latestis complemented to the attribute value.plugin_reference(String) The Docker Plugin Reference