-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker pull failed with context canceled error. #5718
Comments
I am having the same issue with the following docker version:
Also seems like nomad is always trying to clean/pull the image even though the image is already in the docker host. Maybe https://www.nomadproject.io/docs/drivers/docker.html#force_pull is not enforced? |
I am having the same issue with Windows Server 2019 pulling the ltsc2019 containers. Same versions as @lmayorga1980 on Nomad 0.10. I am running in AWS and this is repeatable using t3.medium and c5.xlarge instances for the Windows clients. The only work workaround I've found to this issue is to use the larger instances with NVME drives like c5d.xlarge but would prefer not to use such large instances due to cost. @nickethier @cgbaker I see in this issue When I manually pull a docker image I see it pause at the end of extracting as shown below, sometimes for more than 2 minutes. Are there any plans to configure this timeout? This seems somewhat detrimental for Windows. |
Is there any news on this? This is a huge problem for my company, and may prevent us from using Nomad. We need the ability to either use a locally cached Docker image, or configure the timeout for communication from Docker as we're using large Windows containers. |
We are having this issue too. Our workaround is to manually downloading (docker pull ...) the docker-image on each server before running it via Nomad. |
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. |
Originally posted by @cgbaker in #4934 (comment)
Find the requested details below.
Error Message:
Recent Events:
Time Type Description
2019-05-09T10:39:44Z Restarting Task restarting in 15.732300553s
2019-05-09T10:39:44Z Driver Failure Failed to pull
gcr.io/project_name/image
: context canceled2019-05-09T10:38:14Z Driver Docker image pull progress: Pulled 17/17 (1.776 GiB/1.776 GiB) layers: 0 waiting/0 pulling
2019-05-09T10:36:04Z Driver Docker image pull progress: Pulled 17/17 (1.776 GiB/1.776 GiB) layers: 0 waiting/0 pulling
2019-05-09T10:33:54Z Driver Docker image pull progress: Pulled 17/17 (1.776 GiB/1.776 GiB) layers: 0 waiting/0 pulling
2019-05-09T10:31:54Z Driver Downloading image
2019-05-09T10:31:53Z Task Setup Building Task Directory
2019-05-09T10:31:53Z Received Task received by client
image size ==> 10.8 GB( base windows image is:
microsoft/windowsservercore:1709
)Dockerfile:
The text was updated successfully, but these errors were encountered: