<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def remove_container(self, container, v=False, link=False, force=False):
 """ 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. """

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