disable_plugin
Stop a Docker plugin from intercepting API calls by disabling it. Keeps plugin installed; existing containers unaffected unless forced.
Instructions
Disable a plugin so it stops intercepting Docker API calls; the plugin remains installed.
A disabled plugin cannot be used by new containers but existing containers that already
have it attached are unaffected. Use force=True to disable even if active containers
are still using it — this may cause those containers to lose access to plugin-provided
resources (e.g. a volume driver). Re-enable with enable_plugin.
args: name - Plugin name or id force - Disable even if active containers are using the plugin (may disrupt them) returns: bool - True after the plugin is disabled
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| force | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |