Closed Forbish closed 3 years ago
@Forbish Looks like a DNS issue linked to your Docker network config and not something with Diun itself. What is the output of this command: docker run --rm -it busybox nslookup registry-1.docker.io
?
@crazy-max Thanks for the suggestion, I have confirmed this was an issue with my host as per the command you provided, and not Diun. Unsure why it only turned up with this container as I have others on bridge networks. Such is life!
Turns out it was a firewall issue on the host, I added an allow rule for the Docker bridge IP ranges and it started working.
Appreciate your help anyway, have a good one.
Behaviour
All checks are failing with Diun configured as per recommended specifications. Seems to be network related issue "i/o timeout". Works fine when I configure host networking against the container, so seems to be specific to bridged networking?
Steps to reproduce this issue
Expected behaviour
Checks complete successfully. It works if I hook this container up to host networking, so it would seem the rest of my config is correct
Actual behaviour
Checks fail
Configuration
uname -a
) : Linux NAS 4.4.59+ #25426 SMP Mon Dec 14 18:52:44 CST 2020 x86_64 GNU/Linux synology_v1000_1821+Logs
Sun, 28 Feb 2021 01:35:37 AEST DBG [containers/image] Ping https://registry-1.docker.io/v1/_ping err Get "https://registry-1.docker.io/v1/_ping": dial tcp: lookup registry-1.docker.io on 127.0.0.11:53: read udp 127.0.0.1:49745->127.0.0.11:53: i/o timeout (&url.Error{Op:"Get", URL:"https://registry-1.docker.io/v1/_ping", Err:(*net.OpError)(0xc00049c910)})
Sun, 28 Feb 2021 01:35:37 AEST WRN Cannot get remote manifest error="Cannot get image digest from HEAD request: error pinging docker registry registry-1.docker.io: Get \"https://registry-1.docker.io/v2/\": dial tcp: lookup registry-1.docker.io on 127.0.0.11:53: read udp 127.0.0.1:58052->127.0.0.11:53: i/o timeout" image=docker.io/crazymax/diun:latest provider=docker
Sun, 28 Feb 2021 01:35:37 AEST INF Jobs completed added=0 failed=7 skipped=0 unchanged=0 updated=0