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

Method remove

docker/models/networks.py:83–91  ·  view source on GitHub ↗

Remove this network. Raises: :py:class:`docker.errors.APIError` If the server returns an error.

(self)

Source from the content-addressed store, hash-verified

81 )
82
83 def remove(self):
84 """
85 Remove this network.
86
87 Raises:
88 :py:class:`docker.errors.APIError`
89 If the server returns an error.
90 """
91 return self.client.api.remove_network(self.id)
92
93
94class NetworkCollection(Collection):

Callers

nothing calls this directly

Calls 1

remove_networkMethod · 0.80

Tested by

no test coverage detected