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