Closed pinna9001 closed 1 year ago
I can ping external hostname like google.com
but not my internal hostnames. Pinging the ip address also works.
The problems are only happening in the containers, that are started of the agent container.
Problem fixed by adding a dns entry to the daemon.json of docker. I don't really understand why the woodpecker-agent can resolve the hostname and the clone step can't. I also don't understand why the agent doesn't forward the information to the (clone) steps.
Component
agent
Describe the bug
With the woodpecker server running on a raspberrypi and an agent on my windows pc the clone step fails with "Can't resolve host" When using an agent on a linux pc everything works as intended.
Both agents are using the same exact docker compose file (see below, except for a different secret)
System Info
Additional context
agent docker compose file:
clone step log:
Validations
next
version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]