added docker alias

This commit is contained in:
2024-05-12 11:32:41 -05:00
parent 576f00fac3
commit dde9c9bd70
5 changed files with 5 additions and 0 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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