docker build -t gha-runner -f Dockerfile.runner.linux.amd64 .
docker run -it --name gha gha-runner /bin/bash
Inside docker container
cd actions-runner
Follow the instructions given by Github:
./config.sh ...
Note: actions that uses docker in dockerized self-hosted runner will not work.