This Docker image is designed to be used as a self-hosted runner for GitHub Actions.
325
This Docker image provides a self-hosted runner for GitHub Actions, with support for Docker-in-Docker (DIND) functionality.
This Docker image is designed to be used as a self-hosted runner for GitHub Actions. It includes the necessary components to run GitHub Actions workflows, including the ability to execute Docker commands within the runner container (DIND).
The image is based on the official docker:27-dind image, which provides the Docker-in-Docker functionality. The self-hosted runner is then added on top of this base image.
To use this image, you'll need to have Docker and Docker Compose installed on your host system. Follow these steps:
Clone the repository:
git clone [email protected]:brnorg/safeimages-dind-runner.git
Update the environment variables in the docker-compose.yml file:
TOKEN: Your GitHub personal access token with the necessary permissions to register a self-hosted runner.ORG: The GitHub organization name, or REPO if you want to register the runner for a specific repository.TAG: The tags to be associated with the runner.Start the Docker Compose setup:
docker-compose up -d
This will start the Docker-in-Docker (DIND) service and the self-hosted runner container.
Register the runner on GitHub:
Once the runner is registered, it will automatically start running any workflows that are triggered.
TOKEN: Your GitHub personal access token with the necessary permissions to register a self-hosted runner.ORG: The GitHub organization name, or REPO if you want to register the runner for a specific repository.TAG: The tags to be associated with the runner.docker-certs-ca: Stores the Docker TLS CA certificates.docker-certs-client: Stores the Docker TLS client certificates.The image uses a custom Docker network named container-network to allow communication between the DIND service and the self-hosted runner container.
Content type
Image
Digest
sha256:b102cab3d…
Size
1.1 GB
Last updated
about 2 years ago
docker pull safeimages/dind-runner:1.6