Skip to content

Endlessly consume disk space, simulate bad container behavior

Notifications You must be signed in to change notification settings

bryanlatten/docker-data-eater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-data-eater

DO NOT USE IN PRODUCTION

Use to endlessly thrash a machine by consuming disk space.

Usage

  • Use environment variables to modify behavior
  • Inputs are to dd binary, see man page for further explanations
Variable Default Description
BLOCKS 1000000 copies BLOCKS inputs (maps to dd count variable)
BYTES 128M write BYTES bytes at a time
WAIT_TIME 1 seconds between writes

Running

  1. Clone repo, cd docker-data-eater
  2. Build the container docker build -t eater .
  3. Run container docker run --rm eater