Service to consume machine resources. Read a text with 5k letters and add to memory.
Increase the consume of memory to the power passed in the path. If empty, 1k*text size.
Feature | Path |
---|---|
Memory | /destroy/memory/{power} |
Memory | /destroy/memory/clean |
CPU | /destroy/cpu/{power} |
docker pull bpedroso/machine-destroyer
--> Because hub.docker.com is the default registry, you do not need to set the registry URL value.
mvn docker:build -X |grep 'Successfully built'|awk '{print $NF}'
docker tag [OPTIONS] [REGISTRYHOST/][USERNAME/]NAME[:TAG] # Tag for upload to registry
docker tag 05ef89eb5c42 bpedroso/machine-destroyer:latest
docker login -u $REGISTRY_USERNAME -p $REGISTRY_PASSWORD [REGISTRYHOST]
docker push hub.docker.com/r/bpedroso/machine-destroyer:latest