Currently the deployment manager directly calls the docker-compose command line, because it seems that no available Docker Compose libraries are available, at least for Java. Given this limitation, at some point, we should rewrite the deployment manager in Go Lang, to rely on https://github.com/docker/libcompose that is also the official Docker library for compose. In that moment we should also improve the API design and the error responses.