https://github.com/sammcj/docktails
improved docker log output
https://github.com/sammcj/docktails
bad-puns containers docker logs
Last synced: 9 days ago
JSON representation
improved docker log output
- Host: GitHub
- URL: https://github.com/sammcj/docktails
- Owner: sammcj
- License: mit
- Created: 2023-08-30T06:14:39.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-11T07:24:55.000Z (10 months ago)
- Last Synced: 2025-03-24T07:57:03.791Z (7 months ago)
- Topics: bad-puns, containers, docker, logs
- Language: Go
- Homepage: https://smcleod.net
- Size: 12.3 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Docktails
_"It's Docktails Time!"_
Annoyed when docker logs -f exits when a container restarts? Want to see the logs of multiple containers at once? Docktails might be for you!
## Installation
Download the latest release from the releases page, or build it yourself with `make build`.
## Usage
```shell
docktails [CONTAINER] [CONTAINER]...
```If no containers are specified, docktails will show the logs of all running containers for you to choose from.
```log
$ docktails textgen whalewallTailing logs for containers: textgen, whalewall
-------------
| whalewall |
-------------
[info] [2023-08-31 11:18:15] X{"level":"info","time":"2023-08-30T05:25:53.836460879Z","msg":"applied landlock rules"}
[info] [2023-08-31 11:18:15] o{"level":"info","time":"2023-08-30T05:25:53.836756758Z","msg":"applied seccomp filters","syscalls.allowed":48}-----------
| textgen |
-----------
[info] [2023-08-31 11:18:15] Running on local URL: http://127.0.0.1:7860
[info] [2023-08-31 11:18:15]
[info] [2023-08-31 11:18:15] To create a public link
[info] [2023-08-31 11:18:15] , set `share=True` in `launch()`.
Running on local URL: http://127.0.0.1:7860
``````log
$ docktailsSelect containers (comma-separated, e.g., 1,2,3):
[1] textgen
[2] langflow
[3] whalewall
Enter the numbers of the containers to tail logs (comma-separated):
```## Contributing
Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.
## License and Acknowledgements
- [MIT](LICENSE)
- Copyright (c) 2023 Sam McLeod