docker-compose logs

Nelson Silva 1 Reputation point
2021-10-22T09:26:20.837+00:00

I'm trying to write the logs from a docker-compose on the screen while running a azure DevOps pipeline.

This is what I'm doing right now is:

- script: |  
                      date  
                      docker-compose logs --tail="all"  
                  displayName: docker-compose logs  
                  workingDirectory: $(Build.SourcesDirectory)/scripts/validation_tests  
                  condition: always()  

But I'm getting a: "Attaching to
Finishing: docker-compose logs"

142906-image.png

And no more information...

Do I need something else?

Thanks in advance!

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,202 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Monalla-MSFT 11,876 Reputation points
    2021-10-22T14:49:54.84+00:00

    @Nelson Silva - Thanks for reaching out.

    Devops is not currently supported here on Microsoft QnA. The Community Members and Engineers are actively answering questions in dedicated forums here. Please post your question in that forum :
    https://developercommunity.visualstudio.com/spaces/21/index.html
    https://azure.microsoft.com/en-in/support/devops/

    If the above answer was helpful, please don't forget to Accept as answer so it can be beneficial to the community.

    0 comments No comments