Git Product home page Git Product logo

docker-stress's Introduction

Hello, I'm Jeff! ๐Ÿ‘‹

I'm a creator and entrepreneur known for my work and ideas in open source developer tooling.

I try to push the boundaries of computing as a magical tool and compiler for the imagination.

Since you found me on GitHub, you can join my Discord.

docker-stress's People

Contributors

powermik avatar progrium avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

docker-stress's Issues

Multi-arch images - adding support for arm64/v8

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
image

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/

Deprecated Schema V1

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

Docker compose use

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.