Skip to content

alexei-led/stress-ng

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stress-ng

CI Build and Release

Minimal multi-arch (linux/amd64, linux/arm64) Docker image with a statically linked stress-ng binary. Built from scratch — nothing but the binary.

⚠️ DockerHub Deprecation: The alexeiled/stress-ng DockerHub image is deprecated. Use ghcr.io/alexei-led/stress-ng instead.

Pull

docker pull ghcr.io/alexei-led/stress-ng:latest

Or pin to a specific version:

docker pull ghcr.io/alexei-led/stress-ng:0.20.00

Usage

# Run for 60 seconds with 4 CPU stressors, 2 IO stressors,
# and 1 VM stressor using 1GB of virtual memory
docker run --rm ghcr.io/alexei-led/stress-ng \
  --cpu 4 --io 2 --vm 1 --vm-bytes 1G --timeout 60s --metrics-brief

Kubernetes

apiVersion: v1
kind: Pod
metadata:
  name: stress-ng
spec:
  containers:
    - name: stress-ng
      image: ghcr.io/alexei-led/stress-ng:latest
      args: ["--cpu", "2", "--timeout", "60s", "--metrics-brief"]

How It Works

  • No source code in this repo — only the minimal build configuration.
  • Native Builds — the binary is compiled natively on GitHub Actions runners (ubuntu-24.04 for amd64, ubuntu-24.04-arm for arm64) for maximum speed and reliability.
  • Scratch Image — the compiled binary is copied into a scratch image (0 dependencies, minimal size).
  • GitHub Container Registry — images are pushed exclusively to ghcr.io.

License

GPL-2.0 (same as upstream stress-ng)

About

Scratch image with statically linked stress-ng tool

Topics

Resources

License

Stars

Watchers

Forks

Packages