Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Log error when starting a container fails (#431)
When container fails to start all you get is `failed to start container` message, and it's not always easy to guess why it failed. This PR includes command output in panic message. Example: `dev`: > ```thread '<unnamed>' panicked at 'failed to start container'``` PR: > ```thread '<unnamed>' panicked at 'failed to start container, output = Output { status: ExitStatus(unix_wait_status(32000)), stdout: "e5866b9407496bc9a88b63528370de91ec43358a6a40e1262fb3cae9dd3a8ec1\n", stderr: "docker: Error response from daemon: driver failed programming external connectivity on endpoint dazzling_elbakyan (85503e92065801ce10c86a95ba9af00c53e0e9a3ec4eb0ad78e55e306fbf8434): Bind for 0.0.0.0:13306 failed: port is already allocated.\n" }'``` Co-authored-by: Thomas Eizinger <thomas@eizinger.io>
- Loading branch information