mirror of
https://github.com/kreuzwerker/terraform-provider-docker.git
synced 2025-12-30 03:29:39 -05:00
1 KiB
1 KiB
| layout | page_title | sidebar_current | description |
|---|---|---|---|
| docker | Docker: docker_plugin | docs-docker-datasource-plugin | Reads the local Docker pluign. |
docker_plugin
Reads the local Docker plugin. The plugin must be installed locally.
Example Usage
data "docker_plugin" "sample-volume-plugin" {
alias = "sample-volume-plugin:latest"
}
Argument Reference
The following arguments are supported:
id- (Optional, string) The Docker plugin ID.alias- (Optional, string) The alias of the Docker plugin.
One of id or alias must be assigned.
Attributes Reference
The following attributes are exported in addition to the above configuration:
plugin_reference- (Optional, string, Forces new resource) The plugin reference.disabled- (Optional, boolean) If true, the plugin is disabled.grant_all_permissions- (Optional, boolean) If true, grant all permissions necessary to run the plugin.args- (Optional, set of string). Currently, only environment variables are supported.