containers / podman-compose

a script to run docker-compose.yml using podman
GNU General Public License v2.0
4.85k stars 463 forks source link

Repeated wait time options when using `podman-compose stop` #962

Closed apeteri closed 37 minutes ago

apeteri commented 3 weeks ago

Description:

As podman-compose moves through service entries, each issued podman stop command receives an additional -t 10 option:

$ podman-compose up -d
...

$ podman-compose stop
podman-compose version: 1.0.6
['podman', '--version', '']
using podman version: 4.9.4-rhel
podman stop -t 10 test_service2_1
test_service2_1
exit code: 0
podman stop -t 10 -t 10 test_service1_1
             ^^^^^^^^^^
test_service1_1
exit code: 0

Environment:

Contents of docker-compose.yml:

services:
  service1:
    image: docker.io/library/ubuntu:latest
  service2:
    image: docker.io/library/ubuntu:latest
p12tic commented 37 minutes ago

Thanks for the bug report. This is no longer present on 1.1.0.