2.4 KiB
FAQ
- Test notifications
- field docker|swarm uses unsupported type: invalid
- No image found in manifest list for architecture [], variant [], OS []
Test notifications
Through the command line with:
diun --config ./diun.yml --test-notif
Or within a container:
docker-compose exec diun --test-notif
field docker|swarm uses unsupported type: invalid
If you have the error failed to decode configuration from file: field docker uses unsupported type: invalid
that's because your docker
or swarm
provider is not initialized in your configuration:
providers:
docker:
should be:
providers:
docker: {}
No image found in manifest list for architecture [], variant [], OS []
If you encounter this kind of error, you are probably using the file 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)
:
- 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=file
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=file
You have to force the platform for this image if you are not on a supported platform. For example:
- 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=file