From dde9c9bd70f4b5c8d143bd6fae3ec18b442c7099 Mon Sep 17 00:00:00 2001 From: akanealw Date: Sun, 12 May 2024 11:32:41 -0500 Subject: [PATCH] added docker alias --- alpine/alpine-user-customizations.sh | 1 + debian/debian-install-docker-lxc.sh | 1 + debian/debian-install-docker.sh | 1 + ubuntu/ubuntu-essentials.sh | 1 + ubuntu/ubuntu-install-docker.sh | 1 + 5 files changed, 5 insertions(+) diff --git a/alpine/alpine-user-customizations.sh b/alpine/alpine-user-customizations.sh index e662ccf..64dab9d 100755 --- a/alpine/alpine-user-customizations.sh +++ b/alpine/alpine-user-customizations.sh @@ -38,6 +38,7 @@ if [[ -f /etc/init.d/docker ]] echo "alias dstop='docker stop'" >> ~/.bash_profile echo "alias drestart='docker restart'" >> ~/.bash_profile echo "alias dlf='docker logs -f'" >> ~/.bash_profile + echo "alias dclf='docker compose logs -f'" >> ~/.bash_profile echo "alias dipaf='docker image prune -a -f'" >> ~/.bash_profile echo "alias deit='docker exec -it'" >> ~/.bash_profile fi diff --git a/debian/debian-install-docker-lxc.sh b/debian/debian-install-docker-lxc.sh index a328528..5e47ad8 100755 --- a/debian/debian-install-docker-lxc.sh +++ b/debian/debian-install-docker-lxc.sh @@ -31,6 +31,7 @@ if [[ ! -f /etc/apt/keyrings/docker.gpg ]] echo "alias dstop='docker stop'" >> /etc/bash.bashrc echo "alias drestart='docker restart'" >> /etc/bash.bashrc echo "alias dlf='docker logs -f'" >> /etc/bash.bashrc + echo "alias dclf='docker compose logs -f'" >> /etc/bash.bashrc echo "alias dipaf='docker image prune -a -f'" >> /etc/bash.bashrc echo "alias deit='docker exec -it'" >> /etc/bash.bashrc echo "alias lzd='lazydocker'" >> /etc/bash.bashrc diff --git a/debian/debian-install-docker.sh b/debian/debian-install-docker.sh index 81fb404..02a6aeb 100755 --- a/debian/debian-install-docker.sh +++ b/debian/debian-install-docker.sh @@ -27,6 +27,7 @@ if [[ ! -f /etc/apt/keyrings/docker.gpg ]] echo "alias dstop='docker stop'" >> /etc/bash.bashrc echo "alias drestart='docker restart'" >> /etc/bash.bashrc echo "alias dlf='docker logs -f'" >> /etc/bash.bashrc + echo "alias dclf='docker compose logs -f'" >> /etc/bash.bashrc echo "alias dipaf='docker image prune -a -f'" >> /etc/bash.bashrc echo "alias deit='docker exec -it'" >> /etc/bash.bashrc echo "alias lzd='lazydocker'" >> /etc/bash.bashrc diff --git a/ubuntu/ubuntu-essentials.sh b/ubuntu/ubuntu-essentials.sh index bca353f..41687a6 100755 --- a/ubuntu/ubuntu-essentials.sh +++ b/ubuntu/ubuntu-essentials.sh @@ -149,6 +149,7 @@ if [[ -f /etc/apt/keyrings/docker.gpg ]] echo "alias dstop='docker stop'" >> /etc/bash.bashrc echo "alias drestart='docker restart'" >> /etc/bash.bashrc echo "alias dlf='docker logs -f'" >> /etc/bash.bashrc + echo "alias dclf='docker compose logs -f'" >> /etc/bash.bashrc echo "alias dipaf='docker image prune -a -f'" >> /etc/bash.bashrc echo "alias deit='docker exec -it'" >> /etc/bash.bashrc echo "alias lzd='lazydocker'" >> /etc/bash.bashrc diff --git a/ubuntu/ubuntu-install-docker.sh b/ubuntu/ubuntu-install-docker.sh index 81fb404..02a6aeb 100755 --- a/ubuntu/ubuntu-install-docker.sh +++ b/ubuntu/ubuntu-install-docker.sh @@ -27,6 +27,7 @@ if [[ ! -f /etc/apt/keyrings/docker.gpg ]] echo "alias dstop='docker stop'" >> /etc/bash.bashrc echo "alias drestart='docker restart'" >> /etc/bash.bashrc echo "alias dlf='docker logs -f'" >> /etc/bash.bashrc + echo "alias dclf='docker compose logs -f'" >> /etc/bash.bashrc echo "alias dipaf='docker image prune -a -f'" >> /etc/bash.bashrc echo "alias deit='docker exec -it'" >> /etc/bash.bashrc echo "alias lzd='lazydocker'" >> /etc/bash.bashrc