Skip to content

Commit ab564e6

Browse files
README: Docker run from gaetano/cpuloadgen on Docker Hub
Made-with: Cursor
1 parent ed896f8 commit ab564e6

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,16 @@ Or make the script executable and run: `chmod +x cpu_load_generator.py` then `./
4343

4444
**Platform notes:** On **macOS**, CPU affinity is not supported, so the load may be distributed across cores. Use **exactly one core** with `--plot` for the live plot window and PNG (e.g. `-c 0 -l 0.5 -d 20 --plot`); with multiple cores, `--plot` is ignored.
4545

46+
## Docker
47+
48+
**Run from Docker Hub:**
49+
50+
```bash
51+
docker run --rm gaetano/cpuloadgen -c 0 -l 0.2 -d 10
52+
```
53+
54+
**Build locally:** `docker build -t cpuloadgen .`
55+
4656
## Examples
4757

4858
1. **20% load on core 0 for 20 seconds:**

0 commit comments

Comments
 (0)