Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Newer Docker Compose Exit Statuses #331

Merged
merged 1 commit into from
Feb 11, 2022

Conversation

amayer5125
Copy link
Contributor

Older versions of docker-compose use state=Exit. Newer versions use status=exited. Both support supplying the service directly to the ps command which removes a pipe from the line.

Example old output:

     Name                   Command                State     Ports
------------------------------------------------------------------
site_app_1       start-container                  Exit 137

Example new output:

NAME                                      COMMAND                  SERVICE             STATUS              PORTS
wwwsomewebsitenamedotcom-laravel.test-1   "start-container"        laravel.test        exited (137)

Older versions of docker-compose use status=Exit
Newer versions use status=exited
Both support supplying the service directly to the ps command.
@taylorotwell taylorotwell merged commit 53dd949 into laravel:1.x Feb 11, 2022
@amayer5125 amayer5125 deleted the docker-ps-exit-status branch March 15, 2022 22:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants