Skip to content
New issue

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

docker-compose up --scale SERVICE=NUM #126

Open
Smithx10 opened this issue Jul 24, 2017 · 1 comment
Open

docker-compose up --scale SERVICE=NUM #126

Smithx10 opened this issue Jul 24, 2017 · 1 comment

Comments

@Smithx10
Copy link

Add the enhancement to allow for

--scale SERVICE=NUM
Scale SERVICE to NUM instances. Overrides the "scale" setting in the Compose file if present.

https://docs.docker.com/compose/reference/up/

@teutat3s
Copy link
Member

Works fine here after a short test.

Tried adding scale: 2 to a docker-compose.yml service with version: '2.2' and tried the --scale flag with docker-compose up - didn't try if overriding works yet - but should do so, too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants