This is my small repository to manage DevOps tools such as Docker, Kubernetes, Ansible, Linux Git and many more...
After using it you can realize the realπͺπ½ Power of DevOps π Automation Tools and you will save a lot of time to manage Infrastructure.
π§ Brain is not poisoned with beer, because you have enough brain cells is required to read this manual.
Using wget:
bash <(wget -qO- https://raw.githubusercontent.com/meibraransari/dotfiles/main/installer)
Or using curl:
bash <(curl -s https://raw.githubusercontent.com/meibraransari/dotfiles/main/installer)
You can safely install additional software and make any changes to the file system. Once you exit container the image is deleted.
docker pull ibraransaridocker/dotfiles
docker run -itd --name=c-dotfiles ibraransaridocker/dotfiles /bin/bash
docker exec -it c-dotfiles /bin/bash
update_dotfiles
uninstall_dotfiles
install_<Press Tab to select app to install>
upgrade_<Press Tab to select app to install>
help_<Press Tab to select app to install>
system_info
trash <Files_or_folder>
π Git:
βgitv='git --version'
gitpl='git pull'
gitrv='git remote -v'
gitp='git push'
gits='git status'
gitc='git checkout'
gitb='git branch'
gitf='git fetch'
gitr='git rebase'
gitm='git merge'
gitcl='git clone'
gitst='git stash'
gitstl='git stash list'
gita='git add . && git status'
gitcom='git commit -am'
gitacom='git add . && git commit -m'
gitc='git checkout'
gitcm='git checkout master'
gitm='git merge'
gitmd='git merge development'
And many more... to see the all commands and its usage, use "help_git" command.
π§ Linux:
βc='clear'
p="pwd"
h="history"
hc='history -c'
home='clear && cd ~ && pwd'
html='/var/www/html/'
cll="clear; ls -lAh --color=auto"
..='cd ../' # Go back 1 level
.2='cd ../../' # Go back 2 levels
.3='cd ../../../' # Go back 3 levels
.4='cd ../../../../' # Go back 4 levels
.5='cd ../../../../../' # Go back 5 levels
.6='cd ../../../../../../' # Go back 6 levels
ts='tail -f /var/log/syslog'
And many more... to see the all commands and its usage, use "help_linux" command.
π³ Docker:
βdpl = docker pull
dis = docker images
dps = docker ps -a
dpi = Formatted by Ibrar
dpp = Formatted ports
dsp = docker stop
dspa = docker stop All
dst = docker start
drt = docker restart
dre = docker rename
dec = docker exec -it
dls = docker logs
drm = docker rm -f
dri = docker rmi -f
dit = docker inspect
dvl = docker volume ls
dss = docker stats
And many more... to see the all commands and its usage, use "help_docker" command.
βΈοΈ Kubernetes:
βk ='kubectl'
kc ='kubectl'
kcg ='kubectl get'
kcd ='kubectl describe'
kcl ='kubectl logs'
kcci ='kubectl cluster-info'
kcgn ='kubectl get node -o wide'
kcgs ='kubectl get service -o wide'
kcgr ='kubectl get rs -o wide | more'
kcgd ='kubectl get deployment -o wide'
kcgp ='kubectl get pod -o wide'
kcga ='kubectl get all -o wide | more'
kcgaa ='kubectl get all --all-namespaces -o wide | more'
kcgns ='kubectl get namespaces -o wide | more'
kcsec ='kubectl get secrets'
kcgcm ='kubectl get configmaps'
kcgev ='kubectl get events --all-namespaces'
kcdp ='kubectl describe pod'
kcds ='kubectl describe service'
kcdd ='kubectl describe deployment'
kcdr ='kubectl describe rs | more'
kcaf ='kubectl apply -f'
kcdf ='kubectl delete -f'
kclf ='kubectl logs --tail=200 -f'
And many more... to see the all commands and its usage, use "help_k8s" command.
π€ Ansible:
βa='ansible'
ap='ansible-playbook '
al='ansible-pull'
api='ansible-playbook -i inventory '
avc='ansible-vault create'
ave='ansible-vault edit'
avr='ansible-vault rekey'
avenc='ansible-vault encrypt'
avdec='ansible-vault decrypt'
avv='ansible-vault view'
aga='ansible-galaxy'
agad='ansible-galaxy delete'
agai='ansible-galaxy install'
agaim='ansible-galaxy import'
againf='ansible-galaxy info'
agal='ansible-galaxy list'
agalog='ansible-galaxy login'
agar='ansible-galaxy remove'
agas='ansible-galaxy search'
vault='ansible-vault edit vars/aws_vault.yml'
And many more... to see the all commands and its usage, use "help_ansible" command.
π’π’π’ I am continuously updating this repository so feel free to fork this repository for future updates!
If you are planning to use this repo for learning, please hit the star. Thanks!