compose icon indicating copy to clipboard operation
compose copied to clipboard

`docker-compose kill` returns a status code now

Open forivall opened this issue 4 years ago • 5 comments

File: compose/cli-command-compatibility.md

When enabling the "use compose CLI v2" flag, i noticed that some of our scripts failed - specifically, docker-compose kill, when no services are running, returns a 1 status code. Previously, it always returned 0.

forivall avatar Jul 19 '21 23:07 forivall

This issue tracker is for the documentation at docs.docker.com; looks like this is a change in behavior in docker compose itself. Let me transfer this ticket to the https://github.com/docker/compose issue tracker

thaJeztah avatar Dec 20 '21 13:12 thaJeztah

tested with Docker Compose version v2.2.2 docker-compose kill return 0 even when there's no container to kill

ndeloof avatar Dec 20 '21 16:12 ndeloof

Yeah, i figured the solution would be to update the documentation - if the behaviour should stay the same then yeah! moving over here is good!

forivall avatar Dec 20 '21 19:12 forivall

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 10 '22 12:07 stale[bot]

This issue has been automatically closed because it had not recent activity during the stale period.

stale[bot] avatar Jul 31 '22 23:07 stale[bot]

This issue has been automatically closed because it had not recent activity during the stale period.

stale[bot] avatar Aug 13 '22 11:08 stale[bot]