When I run docker compose, it prints logs for creating the container but then just waits for the container to exit.
[+] Building 0.6s (26/26) FINISHED
=> [internal] load build definition from Dockerfile
[...building from cache log entries...]
Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
[+] Running 1/0
⠿ Container docs-builder Recreated 0.1s
Attaching to docs-builder
docs-builder exited with code 2
When running the same command but with the legacy docker-compose instead of docker compose, it also prints the logs from the container
Building build-docs
[+] Building 0.3s (26/26) FINISHED
=> [internal] load build definition from Dockerfile
[...building from cache log entries...]
Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
Recreating docs-builder ... done
Attaching to docs-builder
docs-builder | Running Sphinx v3.4.3
[...more useful logs from container...]
docs-builder exited with code 2
Is there any way to get those container logs to show up while using the V2 compose command?
thanks,