From bb974ea1cf021f2415c4ce2b11fe4274ce91e531 Mon Sep 17 00:00:00 2001 From: Adam Hyski Date: Mon, 7 Oct 2019 19:48:22 +0200 Subject: [PATCH] Update in logs command --- mage2docker.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mage2docker.plugin.zsh b/mage2docker.plugin.zsh index 9cd349b..670f967 100644 --- a/mage2docker.plugin.zsh +++ b/mage2docker.plugin.zsh @@ -75,7 +75,7 @@ mage2docker () { docker $2 $1 ;; logs) - docker logs -f $1 + docker logs --tail=25 -f $1 ;; ash) docker exec -it -e LINES=$(tput lines) -e COLUMNS=$(tput cols) -u root $1 ash -l