Plugin
Manages the lifecycle of a Docker plugin.
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.docker.Plugin;
import com.pulumi.docker.PluginArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var sample_volume_plugin = new Plugin("sample-volume-plugin", PluginArgs.builder()
.alias("sample-volume-plugin")
.enableTimeout(60)
.enabled(false)
.envs("DEBUG=1")
.forceDestroy(true)
.forceDisable(true)
.grantAllPermissions(true)
.build());
}
}
Content copied to clipboard
Import
#!/bin/bash
$ pulumi import docker:index/plugin:Plugin sample-volume-plugin "$(docker plugin inspect -f {{.ID}} tiborvass/sample-volume-plugin:latest)"
Content copied to clipboard
Properties
Link copied to clipboard
HTTP client timeout to enable the plugin
Link copied to clipboard
If true, then the plugin is destroyed forcibly
Link copied to clipboard
If true, then the plugin is disabled forcibly
Link copied to clipboard
If true, grant all permissions necessary to run the plugin
Link copied to clipboard
Grant specific permissions only
Link copied to clipboard
Docker Plugin Reference
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard