def remove_container(name, force=False):
try:<EOL><INDENT>if not force:<EOL><INDENT>_get_docker().stop(name)<EOL><DEDENT><DEDENT>except APIError:<EOL><INDENT>pass<EOL><DEDENT>try:<EOL><INDENT>_get_docker().remove_container(name, force=True)<EOL>return True<EOL><DEDENT>except APIError:<EOL><INDENT>return False<EOL><DEDENT>
Wrapper for docker remove_container

:returns: True if container was found and removed