# Docker GitHub Actions Runner

Docker GitHub Actions Runner is a Docker container for developers and homelab users who want to run self-hosted GitHub Actions runners on their own infrastructure, with Docker-in-Docker support. It is open source and self-hosted, installable on Docker Hub and Unraid.

Canonical page: https://ourlocalhost.com/app/376/docker-github-actions-runner

## Description

Docker GitHub Actions Runner is a Docker container for developers and homelab users who want to run self-hosted GitHub Actions runners on their own infrastructure, with Docker-in-Docker support.

## Platform availability

Available on 1 of 9 platforms: Unraid.

## Health score

73/100 (Good), based on 5 of 5 factors.
- Maintained: 100 (last commit 16 days ago)
- Popular: 68 (2,479 GitHub stars)
- Easy to install: 35 (1 install platform, install notes, Docker image)
- Light to run: 60 (2 GB minimum RAM, runs on ARM)
- Security check: 74 (no serious findings, CI, OpenSSF Scorecard 5.7/10)

## Links

- GitHub: https://github.com/myoung34/docker-github-actions-runner
- Docker Hub: https://hub.docker.com/r/myoung34/github-runner
- Unraid: https://ca.unraid.net/apps/docker-github-actions-runner-1tniba21jrwbf2?q=Docker-Github-Actions-Runner

## Common questions

### Which environment variables tell the runner container which GitHub scope to use?

Set REPO_URL for a repository, ORG_NAME for an organization, or ENTERPRISE_NAME for an enterprise before starting the container. The matching authentication token or GitHub App details are also required.

### Why can the container stop during startup and prevent jobs from running?

The startup process stops when the supplied GitHub token or App login does not allow self-hosted runner access.

### What file permissions are needed if I mount my own runner or work directories?

If you mount /actions-runner or /_work, make sure the container user can read and write them. The container otherwise creates and fixes ownership of those folders for its runner user.

### Does the project run Docker inside the self-hosted runner?

Yes, it runs the new self-hosted GitHub Actions runners with docker-in-docker.

---
Source: Our Local Host (https://ourlocalhost.com/app/376/docker-github-actions-runner), the self-hosted and open-source app directory.
