Skip to content

Any reason why scale was deprecated in favor of --scale ?  #10823

@ghevge

Description

@ghevge

Description

Today you can make use of the docker-compose scale functionality to scale up running containers on the flay, by calling somehething like:
docker-compose scale middleware=2

wich works ok, but lately it also returnes this message:

WARNING: The scale command is deprecated. Use the up command with the --scale flag instead.

Meaning that in the near future, scale command won't work anymore. From what I can see --scale only works in tandem with up command, which doesn't generates the results "scale" was offering.

So why are you planning to kill the scale command ?

On my end I am using it a lot to automate tests scaling.

Thanks

Steps To Reproduce

No response

Compose Version

No response

Docker Environment

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions