Created
December 18, 2021 22:17
-
-
Save pazams/0006de61e6eacc7494282e3ace7e1b5e to your computer and use it in GitHub Desktop.
docker logs of an app
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
$ sudo docker logs $(sudo docker ps | grep <app-name> | awk '{print $1;}') | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment