mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
aliases: limit dlg to last 1000 lines
This prevents the sometimes lengthy waits whilst Docker spools months or years of container logs into the shell scrollback, shortly to be discarded. It's rare that more than the most 1000 recent lines will be required, and those should probably use more specific cli invocations. Signed-off-by: Joe Groocock <me@frebib.net>
This commit is contained in:
parent
dae7f60002
commit
3b78319653
2
aliases
2
aliases
@ -211,7 +211,7 @@ alias dst='docker stop'
|
||||
alias drst='docker restart'
|
||||
alias dnet='docker network'
|
||||
alias dvol='docker volume'
|
||||
alias dlg='docker logs -f'
|
||||
alias dlg='docker logs --tail=1000 -f'
|
||||
alias dalpine='docker run -ti --rm spritsail/alpine /bin/sh'
|
||||
alias drm-stopped='docker container prune'
|
||||
alias drmi-untag='docker image prune'
|
||||
|
Loading…
Reference in New Issue
Block a user