Using docker-compose with CI – how to deal with exit codes and daemonized linked containers?

Since version 1.12.0, you can use the --exit-code-from option.

From documentation:

–exit-code-from SERVICE

Return the exit code of the selected service container. Implies –abort-on-container-exit.

Leave a Comment