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

Docker update status not working for ghcr.io #1245

Closed
djerfy opened this issue Feb 2, 2023 · 3 comments
Closed

Docker update status not working for ghcr.io #1245

djerfy opened this issue Feb 2, 2023 · 3 comments

Comments

@djerfy
Copy link
Contributor

djerfy commented Feb 2, 2023

Hi,

I found a problem with containers from ghcr.io (Github), the update status doesn't work correctly.
An example in /var/lib/docker/unraid-update-status.json file:

{
    "djerfy/telegraf:latest": {
        "local": "sha256:fb1159480b39372b835683cd0ac8fcb4abc67e00e7566534bb550d2dce2ef0bc",
        "remote": "sha256:97d05b8e4bc95f9db4365964a1fed7c1d00316f13d888af04e192db53fac477d",
        "status": "false"
    },
    "quay.io/keycloak/keycloak:latest": {
        "local": "sha256:b8f2a453a17a244a829fdafdb08dd77f719d3622bc3987c76a81771c0913b882",
        "remote": "sha256:b8f2a453a17a244a829fdafdb08dd77f719d3622bc3987c76a81771c0913b882",
        "status": "true"
    },
    "ghcr.io/tarampampam/error-pages:latest": {
        "local": "sha256:47549faeaa41b225312b1bebb3e593f1a29ed02fcdbe175a4eb1e20ec7bd5e9b",
        "remote": null,
        "status": "undef"
    }
}
  • djerfy/telegraf:latest (docker.io by default, public) -> update ready
  • quay.io/keycloak/keycloak:latest (quay.io, public) -> up-to-date
  • ghcr.io/tarampampam/error-pages:latest (ghcr.io, public) -> not available

I don't known why I've undef status in this file.

@djerfy djerfy changed the title Docker update statys not working for ghcr.io Docker update status not working for ghcr.io Feb 3, 2023
@djerfy
Copy link
Contributor Author

djerfy commented Feb 3, 2023

After a quick debug, ghcr.io use OCI model. Already done but available in the next release of Unraid.

@ljm42
Copy link
Member

ljm42 commented Feb 3, 2023

Hi, let me encourage you to report issues in our friendly community forums, as more folks are around to help guide you to solutions. Here is a recent thread about this issue, which mentions a plugin that will fix this problem in the current version of Unraid:
https://forums.unraid.net/topic/134016-fix-to-a-small-issue-with-updating-oci-docker-images/

Would you mind closing this issue if you got what you need? Thanks!

@djerfy
Copy link
Contributor Author

djerfy commented Feb 4, 2023

Of course, yes I close this issue

@djerfy djerfy closed this as completed Feb 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants