https://github.com/rsteube/dclnav
zsh plugin to open docker-compose container logs in lnav
https://github.com/rsteube/dclnav
docker-compose lnav zsh
Last synced: about 2 months ago
JSON representation
zsh plugin to open docker-compose container logs in lnav
- Host: GitHub
- URL: https://github.com/rsteube/dclnav
- Owner: rsteube
- License: mit
- Created: 2019-09-25T14:40:44.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-09-25T15:36:00.000Z (over 6 years ago)
- Last Synced: 2025-10-06T03:29:41.715Z (9 months ago)
- Topics: docker-compose, lnav, zsh
- Language: Shell
- Homepage:
- Size: 33.2 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dclnav
ZSH plugin to open [docker-compose](https://github.com/docker/compose) logs in [lnav](http://lnav.org/).
Plugin itself simply calls `docker-compose logs [service...]`, strips the container name prefix, removes any shell coloring and then pipes the output to lnav.
## Example
```
docker-compose up -d
curl localhost:8080
dclnav nginx
docker-compose stop
```
