# Deploying GitHub Actions Self-Hosted Runner with Docker
Following [this](https://testdriven.io/blog/github-actions-docker/) tutorial on setting up a GitHub Actions Self-Runner with Docker I've encountered the issues described below.
## Issues and Mitigations
### Removing The Configuration Does Not Work
Removing the self-runner as described does not work due to two issues:
1. The API documentation instructs to use a different removal token then the one described, but even when using the correct token,
2. The self-runner is only sometimes removed when stopping the container
I've found no way of fixing this. However, **removing the runner doesn't seem necessary if the runner is given a specific name and the `--replace` option is used** when configuring it. That way the script detects a runner configuration with the same name and replaces the previous one at restart.
### One Runner Can Support One Repository Only
Attempting to configure multiple repositories fails. This is also documented by GitHub i.e. **shared runners are not implemented** yet. No solution exists except to run multiple containers, one per repository.