We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
The text was updated successfully, but these errors were encountered:
I think you could use command: https://docs.docker.com/compose/compose-file/#command Although you may have to also pass the entrypoint, e.gL
command
services: foo: command: /usr/bin/stress --verbose --cpu 2
I haven't tried this though :)
Sorry, something went wrong.
There's a few gotchas here:
# docker-compose.yaml version: '3' services: stress: image: progrium/stress command: [--cpu, "2"]
No branches or pull requests
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.
The text was updated successfully, but these errors were encountered: