'Remove a container. Similar to the ``docker rm`` command.
Args:
container (str): The container to remove
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 of a running container (uses
``SIGKILL``)
Raises:
:py:class:`docker.errors.APIError`
If the server returns an error.'

@utils.check_resource('container')
def remove_container(self, container, v=False, link=False, force=False):

    params = {'v': v, 'link': link, 'force': force}
    res = self._delete(self._url('/containers/{0}', container), params=params)
    self._raise_for_status(res)
