Hi all
I have an issue with docker runner on my raspberry pie
container can’t resolve server’s IP I ave no issue on the computer where X86 runner works
docker run -it -v /var/run/docker.sock:/var/run/docker.sock -e DRONE_RPC_HOST="drone.ducamps.win" -e DRONE_RPC_PROTO="http" -e DRONE_RPC_SECRET="XXXX"
drone/drone-runner-docker:latest
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm/v7) and no specific platform was requested
INFO[0000] starting the server addr=":3000"
ERRO[0000] cannot ping the remote server error="Post \"http://drone.ducamps.win/rpc/v2/ping\": dial tcp: lookup drone.ducamps.win on 192.168.1.10:53: server misbehaving"
the name have correct resolution from the host
; <<>> DiG 9.18.6 <<>> drone.ducamps.win @192.168.1.10
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34413
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 13, ADDITIONAL: 27
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;drone.ducamps.win. IN A
;; ANSWER SECTION:
drone.ducamps.win. 86400 IN CNAME reverse.ducamps.win.
reverse.ducamps.win. 86400 IN CNAME traefik-local.service.consul.
traefik-local.service.consul. 0 IN A 192.168.1.40
maybe this issue come because ARM container use a scratch image?