Skip to content
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

Can't update image with watchtower: manifest format #2013

Closed
mhellmeier opened this issue Jan 22, 2023 · 3 comments
Closed

Can't update image with watchtower: manifest format #2013

mhellmeier opened this issue Jan 22, 2023 · 3 comments
Labels
kind/bug Something isn't working needs/triage

Comments

@mhellmeier
Copy link

What happened?

The external tool watchtower helps to update docker container images automatically. This doesn't work for crowdsec.

As shown in this discussion, the problem occurs due to a new manifest format when using docker buildx. Crowdsec is also mentioned as an image with an unsupported manifest.
Other problematic images like pi-hole already solved the issue: pi-hole/docker-pi-hole#1289

What did you expect to happen?

The head request shouldn't result in an 404 error.

How can we reproduce it (as minimally and precisely as possible)?

  1. Start and run the crowdsec container
  2. Start and run the watchtower container
  3. The following error message occurs:
Could not do a head request for "crowdsecurity/crowdsec:latest", falling back to regular pull.
Reason: registry responded to head request with "404 Not Found", auth: "not present"

Anything else we need to know?

No response

Crowdsec version

latest (v1.4.5)

OS version

Ubuntu 22.04 LTS

Enabled collections and parsers

No response

Acquisition config

No response

Config show

No response

Prometheus metrics

No response

Related custom configs versions (if applicable) : notification plugins, custom scenarios, parsers etc.

No response

@mhellmeier mhellmeier added the kind/bug Something isn't working label Jan 22, 2023
@github-actions
Copy link

@mhellmeier: Thanks for opening an issue, it is currently awaiting triage.

In the meantime, you can:

  1. Check Crowdsec Documentation to see if your issue can be self resolved.
  2. You can also join our Discord.
  3. Check Releases to make sure your agent is on the latest version.
Details

I am a bot created to help the crowdsecurity developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the BirthdayResearch/oss-governance-bot repository.

@LaurenceJJones
Copy link
Contributor

LaurenceJJones commented Jan 22, 2023

Will speak to @mmetc tomorrow but this issue seems to effect more than just us containrrr/watchtower#1514 (comment)

Tagging @sabban for information

@LaurenceJJones
Copy link
Contributor

Seems the upstream issue has been resolved containrrr/watchtower#1514 (comment) we most likely won't push a fix ourside since we never recommend the use of watchertowerr with our image.

@LaurenceJJones LaurenceJJones closed this as not planned Won't fix, can't repro, duplicate, stale Feb 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working needs/triage
Projects
None yet
Development

No branches or pull requests

2 participants