compose/pkg
Albin Kerouanton 5f392258cb Don't try to start services with 0 replicas
When a service has 0 replicas to start, it don't try to create any
container. However `composeService.startService()` still gets executed.
This method checks if there's been containers created for that service
beforehand. If there's none, it returns the following error: `no
containers to start`.

This change checks if replicas == 0 and exits early from
`composeService.startService()` when that's the case.

Signed-off-by: Albin Kerouanton <albinker@gmail.com>
2021-11-23 11:57:09 +01:00
..
api introduce up --wait condition 2021-11-03 18:22:29 +01:00
compose Don't try to start services with 0 replicas 2021-11-23 11:57:09 +01:00
e2e Bump compose-go to v1.0.7 2021-11-22 18:13:07 +01:00
mocks Move compose v2 implementation under pkg/compose with dependencies 2021-06-15 15:52:48 +02:00
progress stop time.Ticker after use 2021-09-30 17:09:49 +02:00
prompt move compose-cli code into docker/compose/v2 2021-08-31 19:09:19 +02:00
utils Move compose e2e tests into pkg 2021-06-28 08:47:58 +02:00