MCPcopy Index your code
hub / github.com/docker/docker-py / remove

Method remove

docker/models/plugins.py:89–101  ·  view source on GitHub ↗

Remove the plugin from the server. Args: force (bool): Remove even if the plugin is enabled. Default: False Raises: :py:class:`docker.errors.APIError` If the server returns an error.

(self, force=False)

Source from the content-addressed store, hash-verified

87 return self.client.api.push_plugin(self.name)
88
89 def remove(self, force=False):
90 """
91 Remove the plugin from the server.
92
93 Args:
94 force (bool): Remove even if the plugin is enabled.
95 Default: False
96
97 Raises:
98 :py:class:`docker.errors.APIError`
99 If the server returns an error.
100 """
101 return self.client.api.remove_plugin(self.name, force=force)
102
103 def upgrade(self, remote=None):
104 """

Callers

nothing calls this directly

Calls 1

remove_pluginMethod · 0.80

Tested by

no test coverage detected