Created
January 22, 2020 23:34
-
-
Save mrinterweb/4b47b91729810fa1c100594e8325b045 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/bin/sh | |
set -e | |
set -u | |
set -o pipefail | |
service_name="${1:-monolith}" | |
container_id="$(docker container ls | grep "opal_$service_name" | head -n1 | cut -d " " -f 1)" | |
docker logs -f $container_id |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment