From 047c80ba7bfcef077022a8ed40b4796a82481984 Mon Sep 17 00:00:00 2001 From: Brad Date: Sun, 28 Jan 2024 13:53:56 -0500 Subject: [PATCH] made doctime show the actual uptime --- .bash_aliases | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bash_aliases b/.bash_aliases index c856ba3..d70b28a 100755 --- a/.bash_aliases +++ b/.bash_aliases @@ -124,7 +124,7 @@ alias bin='nc termbin.com 9999' alias dex='docker exec' alias dps="docker ps --format 'CONTAINER ID: {{.ID}}\nIMAGE: {{.Image}}\nCOMMAND: {{.Command}}\nCREATED: {{.CreatedAt}}\nSTATUS: {{.Status}}\nPORTS: {{.Ports}}\nNAMES: {{.Names}}\n'|cat" alias lzd='docker run --rm -it -v /var/run/docker.sock:/var/run/docker.sock -v ~/lzd:/.config/jesseduffield/lazydocker lazyteam/lazydocker' -alias doctime="docker ps --format 'CONTAINER NAME: {{.Names}}\nUPTIME: {{.RunningFor}}'|cat" +alias doctime="docker ps --format 'CONTAINER NAME: {{.Names}}\nUPTIME: {{.Status}}'|cat" alias glance='docker run --rm -e TZ="${TZ}" -v /var/run/docker.sock:/var/run/docker.sock:ro -v /run/user/1000/podman/podman.sock:/run/user/1000/podman/podman.sock:ro --pid host --network host -it nicolargo/glances:latest-full' alias ytdlp='docker run --rm -v "/nasty/ytdl:/media" -it jauderho/yt-dlp:latest ' # Misc