sark
09/22/2020, 8:53 AM$ prefect agent start docker -l gcs-flow-storage --volume /var/run/docker.sock:/var/run/docker.sock --volume ~/.config:/root/.config --volume ~/.docker:/root/.docker
but i am still getting
Unexpected error: ImageNotFound(HTTPError('404 Client Error: Not Found for url: <http+docker://localhost/v1.40/containers/create'>))
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/docker/api/client.py", line 259, in _raise_for_status
response.raise_for_status()
File "/usr/local/lib/python3.8/site-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/create>
josh
09/22/2020, 2:27 PMcreate
container it seems like it has already attempted to pull the imagesark
09/23/2020, 2:47 AMDuring handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/prefect/engine/runner.py", line 48, in inner
new_state = method(self, state, *args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/prefect/engine/task_runner.py", line 824, in get_task_run_state
value = timeout_handler(
File "/usr/local/lib/python3.8/site-packages/prefect/utilities/executors.py", line 188, in timeout_handler
return fn(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/prefect/utilities/tasks.py", line 429, in method
return run_method(self, *args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/prefect/tasks/docker/containers.py", line 130, in run
container = client.create_container(
File "/usr/local/lib/python3.8/site-packages/docker/api/container.py", line 430, in create_container
return self.create_container_from_config(config, name)
File "/usr/local/lib/python3.8/site-packages/docker/api/container.py", line 441, in create_container_from_config
return self._result(res, True)
File "/usr/local/lib/python3.8/site-packages/docker/api/client.py", line 265, in _result
self._raise_for_status(response)
File "/usr/local/lib/python3.8/site-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/site-packages/docker/errors.py", line 31, in create_api_error_from_http_exception
raise cls(e, response=response, explanation=explanation)
docker.errors.ImageNotFound: 404 Client Error: Not Found ("No such image: <http://gcr.io/ghpr-mgmt/template-launcher:1c389ceddbc6fc390ce4c1d06e1819599dead0c9%22|gcr.io/ghpr-mgmt/template-launcher:1c389ceddbc6fc390ce4c1d06e1819599dead0c9">)
Credentials store error: StoreError('Credentials store docker-credential-gcloud exited with "".')
josh
09/23/2020, 11:16 AMsark
09/24/2020, 3:06 AM