added docker alias
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user