Runs the stress tool in a container, with various options.
50K+
With no environment variables specified, this container will run a single CPU worker thread.
Meaningful environment variables:
TIMEOUT (how long to keep stress running (default: unlimited))
HDD_THREADS (spawn N workers spinning on write()/unlink() (default: 0))
HDD_BYTES (write B bytes per hdd worker (default is 1GB))
IO_THREADS (spawn N workers spinning on sync() (default: 0))
CPU_THREADS (spawn N workers spinning on sqrt() (default: 1))
VM_THREADS (spawn N workers spinning on malloc()/free() (default: 0))
VM_BYTES (malloc B bytes per vm worker (default is 256MB))
VM_STRIDE (touch a byte every B bytes (default is 4096))
VM_HANG (sleep N secs before free (default none, 0 is inf))
VM_KEEP (redirty memory instead of freeing and reallocating)
Image source is available at https://github.com/nmeyerhans/docker-stress Documentation on the stress tool is available on the Debian manpages site: https://manpages.debian.org/stretch/stress/stress.1.en.html
Content type
Image
Digest
sha256:69ea2f614…
Size
45.1 MB
Last updated
over 3 years ago
docker pull nmeyerhans/stress