progrium / docker-stress Goto Github PK
View Code? Open in Web Editor NEWDocker container for generating workload stress
License: MIT License
Docker container for generating workload stress
License: MIT License
Running
docker run --rm -it progrium/stress --cpu 2 --io 1 --vm 2 --vm-bytes 128M --timeout 10s
gives
Image docker.io/progrium/stress:latest uses outdated schema1 manifest format. Please upgrade to a schema2 image for better future compatibility. More information at https://docs.docker.com/registry/spec/deprecated-schema-v1/
Docker version 19.03.12, build 48a66213fe
Hi,
Given the current base image (ubuntu:trusty) is already multi-arch and supports arm64/v8, would it be possible to build docker-stress with arm64 support as well? Stress tool is also available as a package for the target architecture so changing the build process results in an image with both amd64 and arm64 support.
As more people are using M1 MacBook Pros, would be nice to have the support in this repository.
Based on our tests, I can confirm that if we build the image as following, the resulting image works on MacBook Pro M1 as well as Raspberry PI 4 besides intel / AMD platforms as it currently does:
docker buildx build --push --platform linux/amd64,linux/arm64/v8 --tag syamaner/stress:multiarch ./build
Once built and published, we can verify as below:
docker buildx imagetools inspect syamaner/stress:multiarch
p.s. I only published it to see if it would work but I was not intending to keep syamaner/stress:multiarch as it would be better in this repository. Also if there is any way I can contribute, I would be happy to.
Further information is available here: https://docs.docker.com/build/building/multi-platform/
Hi, how do i pass args (e.g. --cpu 2 --io 1) in a docker-compose.yml ?
version: '2'
services:
app01:
image: progrium/stress
cpu: 2
io: 1
vm: 2
vm-bytes: 128M
timeout: 10s
this is what i've done, but it doesnt work, help me please.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.