podman-compose icon indicating copy to clipboard operation
podman-compose copied to clipboard

Podman not supporting --scale flag

Open unvaare opened this issue 4 years ago • 7 comments

I have been facing this issue where i am trying to scale down or up the services using --scale option but podman-compose is ignoring the altogether and spinning up containers as given in compose file.

Can someone please help?

unvaare avatar Jan 19 '21 16:01 unvaare

A Pod shares the same IP for all containers. Scaling the same service will try to open several times the same ports on the Pod. So it's not possible. Compose seems to not propose a way to create one pod per service. That would be the solution. But at this time, it's impossible.

And it's a pitty.

metal3d avatar Jun 17 '22 14:06 metal3d

Is there a workaround for this issue?

heitorPB avatar Jan 04 '23 22:01 heitorPB