Run any Dockerized GitHub repository locally using a simple CLI.
Agent Docker Runner is a lightweight CLI tool that:
- Clones a GitHub repository
- Detects a Dockerfile
- Builds a Docker image
- Runs a container
- Streams logs in real time
This is the MVP (v0.1) of a larger vision:
An agentic AI system that can automatically set up and run any codebase using natural language.
- ✅ GitHub repo cloning
- ✅ Docker image build
- ✅ Container execution
- ✅ Real-time log streaming
- ✅ Modular architecture (agent-ready)
git clone https://github.com/<your-username>/agent-docker-runner.git
cd agent-docker-runner
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install -r requirements.txtpython main.py run https://github.com/ianmiell/simple-dockerfile.git +------------------+
| CLI |
| (Typer Interface)|
+--------+---------+
|
v
+------------------+
| Runner |
| (core logic) |
+--------+---------+
|
----------------------------
| | |
v v v
+----------+ +----------+ +----------+
| Git Tool | | Analyzer | | Docker |
| | | | | Tool |
+----------+ +----------+ +----------+
| |
v v
Clone Repo Build & Run Container
agent-docker-runner/
│
├── cli.py
├── main.py
│
├── core/
│ ├── runner.py
│ ├── analyzer.py
│
├── tools/
│ ├── git_tool.py
│ ├── docker_tool.py
│
├── utils/
│ ├── logger.pyTo build a system where:
agent run "Run this repo with GPU on port 5000"Natural language input (Planner)
Port mapping support
Dockerfile auto-generation
Failure recovery agent
Fully agentic DevOps system
Memory + self-improving workflows