You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/02/18 09:32:52 UTC

[GitHub] [airflow] ldealmei commented on issue #13905: DockerOperator fails to pull an image

ldealmei commented on issue #13905:
URL: https://github.com/apache/airflow/issues/13905#issuecomment-781211381


   I am facing the same issue. This seems to only happen when running Airflow inside a Docker container. I had a non-dockerized deployment for which it worked fine without the `force_pull=True` option. Since going to a docker-compose deployment, I've been having the same 404 error.
   ```
   [2021-02-18 09:24:44,360] {docker.py:224} INFO - Starting docker container from image busybox:stable
   [2021-02-18 09:24:44,394] {taskinstance.py:1396} ERROR - 404 Client Error: Not Found ("No such image: busybox:stable")
   Traceback (most recent call last):
     File "/home/airflow/.local/lib/python3.6/site-packages/docker/api/client.py", line 261, in _raise_for_status
       response.raise_for_status()
     File "/home/airflow/.local/lib/python3.6/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.41/containers/create
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org