Skip to content

Instantly share code, notes, and snippets.

@ironicbadger
Created January 30, 2016 21:41
Show Gist options
  • Save ironicbadger/a61bafe744305915e8ce to your computer and use it in GitHub Desktop.
Save ironicbadger/a61bafe744305915e8ce to your computer and use it in GitHub Desktop.
#!/bin/bash
#
# Shows last 50 lines of logs for specified container and continues
# showing log output in realtime.
docker logs -tf --tail="50" "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment