As you can see, the process in the container ends with non-zero status (sh -c "echo hello world; return 1"). However, it doesn't log any fatal errors and simply displays hello world when built and executed.

How can I check that container process exited with non-zero status using Docker Go SDK?