Skip to content

Could not do a head request #1260

Answered by piksel
gregeeh asked this question in Q&A
Discussion options

You must be logged in to vote

Note: I'm adding this here, since it comes up when searching for the warning message:

This is warning. But as it mentions:

falling back to regular pull

It still checks if the container is updated, but it uses docker pull, which uses up the rate limit imposed by docker hub. If you have a really small interval, let's say 5 minutes, this will lead you to reach the limit after a while and prevents watchtower from working until the limit is renewed (every 6 hours).
See https://www.docker.com/increase-rate-limits/ for more information about the limits.

What can I do to solve it?

You can disable the warning using WATCHTOWER_WARN_ON_HEAD_FAILURE=never or --warn-on-head-failure never.
But note t…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by piksel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants