This folder contains a simple Dockerfile
to build a container image for
stress-ng, a tool that creates CPU, memory, and disk load on a
system. The tool is used to illustrate applying resource limits to containers
to prevent one container from causing issues for another.
This image is published to Docker Hub, so you can use it directly without having to build it. With Docker:
docker run --rm bookofkubernetes/stress
The book provides examples of how to run it with other container runtimes.
You are welcome to rebuild this image and publish it to your own container registry. To build it with Docker, run:
docker build -t <tag> .