https://pulumi.com logo
#general
Title
# general
h

hundreds-businessperson-87013

07/19/2021, 8:05 AM
Hi all! Is there any possibility to get logs from docker container when using pulumi?
d

damp-school-17708

07/19/2021, 8:14 AM
I think pulumi logs -f will do that - It definitely does it from me on pulumi / ecs / docker One thing you need to make sure is that your cloudwatch groups / logs are setup properly for the service/task (or whatever else you are using) - and first check logs in AWS console
b

brave-planet-10645

07/19/2021, 8:23 AM
What Antonio suggests will work for AWS cloudwatch logs, but if you're running docker on your local machine (or in fact anywhere), we're not doing anything special so you can view the docker logs in the same way you would before you started using Pulumi
d

damp-school-17708

07/19/2021, 8:27 AM
oh yes sorry I assumed you were in #aws haha -
docker logs -f containerId
command in fact works on local -