The output to docker-composeis stdout / stderr from the command executed by the container. You see this with help docker runif you do not disconnect, and you can get it from docker logsthe container from which you were separated, or docker-compose logsfrom an organized group containing the group.
Edit: Confirmation of this behavior:
$ cat docker-compose.hello-world.yml
version: '2'
services:
hello-world:
image: busybox
command: "echo hello world"
$ docker-compose -f docker-compose.hello-world.yml up
Creating test_hello-world_1
Attaching to test_hello-world_1
hello-world_1 | hello world
test_hello-world_1 exited with code 0
source
share