Remove this container. Similar to the ``docker rm`` command. Args: v (bool): Remove the volumes associated with the container link (bool): Remove the specified link and not the underlying container force (bool): Force the removal
(self, **kwargs)
| 350 | return self.client.api.put_archive(self.id, path, data) |
| 351 | |
| 352 | def remove(self, **kwargs): |
| 353 | """ |
| 354 | Remove this container. Similar to the ``docker rm`` command. |
| 355 | |
| 356 | Args: |
| 357 | v (bool): Remove the volumes associated with the container |
| 358 | link (bool): Remove the specified link and not the underlying |
| 359 | container |
| 360 | force (bool): Force the removal of a running container (uses |
| 361 | ``SIGKILL``) |
| 362 | |
| 363 | Raises: |
| 364 | :py:class:`docker.errors.APIError` |
| 365 | If the server returns an error. |
| 366 | """ |
| 367 | return self.client.api.remove_container(self.id, **kwargs) |
| 368 | |
| 369 | def rename(self, name): |
| 370 | """ |