mirror of
https://github.com/tedkulp/dotfiles
synced 2026-04-17 21:44:30 -04:00
Added fleet and docker aliases
This commit is contained in:
11
source/docker.zsh
Normal file
11
source/docker.zsh
Normal file
@@ -0,0 +1,11 @@
|
||||
# Kill all running containers.
|
||||
alias dockerkillall='docker kill $(docker ps -q)'
|
||||
|
||||
# Delete all stopped containers.
|
||||
alias dockercleanc='printf "\n>>> Deleting stopped containers\n\n" && docker rm $(docker ps -a -q)'
|
||||
|
||||
# Delete all untagged images.
|
||||
alias dockercleani='printf "\n>>> Deleting untagged images\n\n" && docker rmi $(docker images -q -f dangling=true)'
|
||||
|
||||
# Delete all stopped containers and untagged images.
|
||||
alias dockerclean='dockercleanc || true && dockercleani'
|
||||
1
source/fleetctl.zsh
Normal file
1
source/fleetctl.zsh
Normal file
@@ -0,0 +1 @@
|
||||
alias fcq="fleetctl --endpoint=http://192.168.3.32:4001 "
|
||||
Reference in New Issue
Block a user