Open gjkim42 opened 5 months ago
Currently, ubuntu 22.04 runner cannot update the MTU of docker0 interface as it does not have ifconfig command. This installs net-tools package in ubuntu-22.04 runner to be able to use it in the entrypoint script. https://github.com/actions/actions-runner-controller/blob/0a6208e38d3b22bad4a39e89e27985f7c4e7f664/runner/entrypoint-dind.sh#L63-L65
ifconfig
$ kubectl logs -n MY_RUNNER | grep ifconfig -b5 9620-time="2024-06-19T08:35:10.839005203Z" level=info msg=serving... address=/var/run/docker/containerd/containerd-debug.sock 9741-time="2024-06-19T08:35:10.839072682Z" level=info msg=serving... address=/var/run/docker/containerd/containerd.sock.ttrpc 9862-time="2024-06-19T08:35:10.839124080Z" level=info msg=serving... address=/var/run/docker/containerd/containerd.sock 9977-time="2024-06-19T08:35:10.839141954Z" level=info msg="containerd successfully booted in 0.047146s" 10076-2024-06-19 08:35:11.734 DEBUG --- dockerd is running 10141:sudo: ifconfig: command not found 10175-2024-06-19 08:35:11.742 DEBUG --- Github endpoint URL https://**PRIVATE**/ 10268-2024-06-19 08:35:12.46 DEBUG --- Passing --ephemeral to config.sh to enable the ephemeral runner. 10378-2024-06-19 08:35:12.463 DEBUG --- Configuring the runner. 10448- 10449---------------------------------------------------------------------------------
10141:sudo: ifconfig: command not found ^ this is the error log for this case.
10141:sudo: ifconfig: command not found
cc @mumoshu Could you PTAL?
Currently, ubuntu 22.04 runner cannot update the MTU of docker0 interface as it does not have
ifconfig
command. This installs net-tools package in ubuntu-22.04 runner to be able to use it in the entrypoint script. https://github.com/actions/actions-runner-controller/blob/0a6208e38d3b22bad4a39e89e27985f7c4e7f664/runner/entrypoint-dind.sh#L63-L6510141:sudo: ifconfig: command not found
^ this is the error log for this case.