message | Uncaught exception w [...]Uncaught exception while running Docker Compose:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/docker/api/client.py", line 259, in _raise_for_status
response.raise_for_status()
File "/usr/local/lib/python3.8/dist-packages/requests/models.py", line 941, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http+docker://localhost/v1.40/containers/58c57e2dba23864ee63f5d90d9104dd1ce3dee1c9b1f268c74873407690c828d/json
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/duckietown_challenges_runner_daffy-6.0.29-py3.8.egg/duckietown_challenges_runner/env_checks.py", line 62, in check_docker_environment
_containers = client.containers.list(filters=dict(status="running"))
File "/usr/local/lib/python3.8/dist-packages/docker/models/containers.py", line 951, in list
containers.append(self.get(r['Id']))
File "/usr/local/lib/python3.8/dist-packages/docker/models/containers.py", line 887, in get
resp = self.client.api.inspect_container(container_id)
File "/usr/local/lib/python3.8/dist-packages/docker/utils/decorators.py", line 19, in wrapped
return f(self, resource_id, *args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/docker/api/container.py", line 770, in inspect_container
return self._result(
File "/usr/local/lib/python3.8/dist-packages/docker/api/client.py", line 265, in _result
self._raise_for_status(response)
File "/usr/local/lib/python3.8/dist-packages/docker/api/client.py", line 261, in _raise_for_status
raise create_api_error_from_http_exception(e)
File "/usr/local/lib/python3.8/dist-packages/docker/errors.py", line 31, in create_api_error_from_http_exception
raise cls(e, response=response, explanation=explanation)
docker.errors.NotFound: 404 Client Error: Not Found ("No such container: 58c57e2dba23864ee63f5d90d9104dd1ce3dee1c9b1f268c74873407690c828d")
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/duckietown_challenges_runner_daffy-6.0.29-py3.8.egg/duckietown_challenges_runner/runner.py", line 969, in run_one
client = check_docker_environment()
File "/usr/local/lib/python3.8/dist-packages/duckietown_challenges_runner_daffy-6.0.29-py3.8.egg/duckietown_challenges_runner/env_checks.py", line 69, in check_docker_environment
raise InvalidEnvironment(msg)
duckietown_challenges_runner.exceptions.InvalidEnvironment: I cannot communicate with Docker:
404 Client Error: Not Found ("No such container: 58c57e2dba23864ee63f5d90d9104dd1ce3dee1c9b1f268c74873407690c828d")
Make sure the docker service is running.
|