--- # generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "docker_plugin Data Source - terraform-provider-docker" subcategory: "" description: |- 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 ```terraform data "docker_plugin" "sample-volume-plugin" { alias = "sample-volume-plugin:latest" } ``` ## Schema ### Optional - **alias** (String) The alias of the Docker plugin. If the tag is omitted, `:latest` is complemented to the attribute value. - **id** (String) The ID of this resource. - **name** (String) The plugin name. If the tag is omitted, `:latest` is complemented to the attribute value. ### Read-Only - **enabled** (Boolean) If `true` the plugin is enabled - **env** (Set of String) The environment variables in the from of `KEY=VALUE`, e.g. `DEBUG=0` - **grant_all_permissions** (Boolean) If true, grant all permissions necessary to run the plugin - **plugin_reference** (String) The Docker Plugin Reference