actions / runner

The Runner for GitHub Actions :rocket:
https://github.com/features/actions
MIT License
4.86k stars 956 forks source link

Self hosted runner on Ubuntu 20.04.6 LTS - Docker container unable to connect to network #2930

Open rcmb opened 1 year ago

rcmb commented 1 year ago

Describe the bug Self hosted runner on Ubuntu 20.04.6 LTS - Docker container unable to connect to network

Fetching the repository /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +d9ace0437f91ead4b20b006a165730497c409e53:refs/remotes/origin/master Error: fatal: unable to access 'https://github.com/abc/assignment-1-rcmb/': Could not resolve host: github.com The process '/usr/bin/git' failed with exit code 128 Waiting 12 seconds before trying again /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +d9ace0437f91ead4b20b006a165730497c409e53:refs/remotes/origin/master Error: fatal: unable to access 'https://github.com/abc/assignment-1-rcmb/': Could not resolve host: github.com The process '/usr/bin/git' failed with exit code 128 Waiting 16 seconds before trying again /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +d9ace0437f91ead4b20b006a165730497c409e53:refs/remotes/origin/master Error: fatal: unable to access 'https://github.com/abc/assignment-1-rcmb/': Could not resolve host: github.com Error: The process '/usr/bin/git' failed with exit code 128

To Reproduce Steps to reproduce the behavior: 1.Use the standard steps to install and configure a GitHub local runner

Expected behavior Expect runner to be able to clone the repository

Runner Version and Platform

Version of your runner?

actions-runner-linux-x64-2.309.0 Ubuntu 20.04.6 LTS

What's not working?

Please include error messages and screenshots.

Job Log Output

If applicable, include the relevant part of the job / step log output here. All sensitive information should already be masked out, but please double-check before pasting here.

Runner and Worker's Diagnostic Logs

Docker image /etc/resolv.conf nameserver 127.0.0.11 options ndots:0

github-actions[bot] commented 5 days ago

This issue is stale because it has been open 365 days with no activity. Remove stale label or comment or this will be closed in 15 days.