Skip to content

Commit

Permalink
docker: simplify alias to clean all images, containers and volumes
Browse files Browse the repository at this point in the history
  • Loading branch information
sglavoie committed Nov 30, 2021
1 parent 10c728c commit 244fc0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .bash_aliases
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ alias cat="bat"
alias cl='clear'
alias clip='xclip -selection clipboard' # used as a pipe, put the output into the clipboard
alias diff='diff-so-fancy'
alias dockerclean='sudo systemctl start docker.service; docker rmi -f $(docker images -a -q); docker volume rm -f $(docker volume ls -q); docker rm -f $(docker ps -a -q); docker network prune'
alias dockerclean='docker stop $(docker ps -qa); docker system prune -a --volumes'
alias f='fg'
alias g='git'
alias gal='git addlearning'
Expand Down

0 comments on commit 244fc0a

Please sign in to comment.