0
0
Fork 0
mirror of https://github.com/crazy-max/diun.git synced 2025-01-27 01:08:50 +00:00
crazy-max_diun/doc/faq.md
CrazyMax 9c797f1616
Review of platform detection (#56)
* Leave default image platform empty for static provider (see FAQ doc)
* Handle platform variant
* Add database migration process
* Switch to Open Container Specification labels as label-schema.org ones are deprecated
* Remove unneeded `diun.os` and `diun.arch` docker labels

Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-03-31 23:27:10 +02:00

2 KiB

FAQ

No image found in manifest list for architecture [], variant [], OS []

If you encounter this kind of error, you are probably using the static provider containing an image with an erroneous or empty platform. If the platform is not filled in, it will be deduced automatically from the information of your operating system on which Diun is running.

In the example below, Diun is running (diun_x.x.x_windows_i386.zip) on Windows 10 and tries to analyze the crazymax/cloudflared image with the detected platform (windows/386):

db:
  path: diun.db

watch:
  workers: 20
  schedule: "* * * * *"
  first_check_notif: true

providers:
  static:
    - name: crazymax/cloudflared:2020.2.1
      watch_repo: true

But this platform is not supported by this image as you can see on DockerHub:

Fri, 27 Mar 2020 01:20:03 UTC ERR Cannot run job error="Error choosing image instance: no image found in manifest list for architecture 386, variant , OS windows" provider=static-0
Fri, 27 Mar 2020 01:20:03 UTC ERR Cannot list tags from registry error="Error choosing image instance: no image found in manifest list for architecture 386, variant , OS windows" image=crazymax/cloudflared:2020.2.1 provider=static-0

You have to force the platform for this image if you are not on a supported platform. For example:

db:
  path: diun.db

watch:
  workers: 20
  schedule: "* * * * *"
  first_check_notif: true

providers:
  static:
    - name: crazymax/cloudflared:2020.2.1
      watch_repo: true
      platform:
        os: linux
        arch: amd64
Fri, 27 Mar 2020 01:24:33 UTC INF New image found image=docker.io/crazymax/cloudflared:2020.2.1 provider=static-0