Skip to content

Expose logs when container started but exited with errors (#527)#529

Merged
metrue merged 1 commit intoproductionfrom
master
May 16, 2020
Merged

Expose logs when container started but exited with errors (#527)#529
metrue merged 1 commit intoproductionfrom
master

Conversation

@metrue
Copy link
Owner

@metrue metrue commented May 16, 2020

  • expose the error message of start failure
  • disable container auto-remove, only remove it when it fails to start
  • call /containers/id/logs endpoint to get the logs

* expose the error message of start failure
* disable container auto-remove, only remove it when it fails to start
* call /containers/id/logs endpoint to get the logs
@metrue metrue merged commit 0cc34ef into production May 16, 2020
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.

1 participant