diff --git a/.config/zsh/.docker_aliases b/.config/zsh/.docker_aliases index b0aeb1c..415aa39 100644 --- a/.config/zsh/.docker_aliases +++ b/.config/zsh/.docker_aliases @@ -6,74 +6,75 @@ fi alias dk='docker' # containers -alias dkci='docker container inspect' -alias dkcls='docker container ls' -alias dkclsa='docker container ls -a' +alias dkci='docker container inspect' +alias dkcls='docker container ls' +alias dkclsa='docker container ls -a' alias dkclsaq='docker container ls -a -q' -alias dkclsq='docker container ls -q' -alias dkcp='docker container prune' -alias dkcpf='docker container prune -f' -alias dkcrm='docker container rm' -alias dkcrmf='docker container rm -f' -alias dkcsp='docker container stop' -alias dkcst='docker container start' -alias dkex='docker container exec -i -t' -alias dklo='docker logs -f' -alias dkr='docker run -i -t' +alias dkclsq='docker container ls -q' +alias dkcp='docker container prune' +alias dkcpf='docker container prune -f' +alias dkcrm='docker container rm' +alias dkcrmf='docker container rm -f' +alias dkcsp='docker container stop' +alias dkcst='docker container start' +alias dkex='docker container exec -i -t' +alias dklo='docker logs -f' +alias dkr='docker run -i -t' # images -alias dkb='docker build .' -alias dki='docker image' -alias dkic='docker image create' -alias dkii='docker image inspect' -alias dkils='docker image ls' -alias dkilsa='docker image ls -a' +alias dkb='docker build .' +alias dki='docker image' +alias dkic='docker image create' +alias dkii='docker image inspect' +alias dkils='docker image ls' +alias dkilsa='docker image ls -a' alias dkilsaq='docker image ls -a -q' -alias dkilsq='docker image ls -q' -alias dkip='docker image prune' -alias dkipf='docker image prune -f' -alias dkirm='docker image rm' -alias dkirmf='docker image rm -f' -alias dkl='docker pull' -alias dkp='docker push' -alias dkt='docker tag' +alias dkilsq='docker image ls -q' +alias dkip='docker image prune' +alias dkipf='docker image prune -f' +alias dkirm='docker image rm' +alias dkirmf='docker image rm -f' +alias dkl='docker pull' +alias dkla="docker image ls | awk '{print \"docker pull \" \$1 \":\" \$2}' | $SHELL" +alias dkp='docker push' +alias dkt='docker tag' # volumes -alias dkv='docker volume' -alias dkvc='docker volume create' -alias dkvi='docker volume inspect' -alias dkvls='docker volume ls' +alias dkv='docker volume' +alias dkvc='docker volume create' +alias dkvi='docker volume inspect' +alias dkvls='docker volume ls' alias dkvlsq='docker volume ls -q' -alias dkvp='docker volume prune' -alias dkvpf='docker volume prune -f' -alias dkvrm='docker volume rm' +alias dkvp='docker volume prune' +alias dkvpf='docker volume prune -f' +alias dkvrm='docker volume rm' alias dkvrmf='docker volume rm -f' # networks -alias dkn='docker network' -alias dknc='docker network create' -alias dkni='docker network inspect' -alias dknls='docker network ls' +alias dkn='docker network' +alias dknc='docker network create' +alias dkni='docker network inspect' +alias dknls='docker network ls' alias dknlsq='docker network ls -q' -alias dknp='docker network prune' -alias dknpf='docker network prune -f' -alias dknrm='docker network rm' +alias dknp='docker network prune' +alias dknpf='docker network prune -f' +alias dknrm='docker network rm' alias dknrmf='docker network rm -f' # system -alias dks='docker system' -alias dksdf='docker system df' -alias dksp='docker system prune' -alias dkspa='docker system prune -a' -alias dkspaf='docker system prune -af' -alias dkspf='docker system prune -f' -alias dkspv='docker system prune --volumes' -alias dkspva='docker system prune --volumes -a' +alias dks='docker system' +alias dksdf='docker system df' +alias dksp='docker system prune' +alias dkspa='docker system prune -a' +alias dkspaf='docker system prune -af' +alias dkspf='docker system prune -f' +alias dkspv='docker system prune --volumes' +alias dkspva='docker system prune --volumes -a' alias dkspvaf='docker system prune --volumes -af' -alias dkspvf='docker system prune --volumes -f' +alias dkspvf='docker system prune --volumes -f' # docker-compose alias dc='docker-compose' -alias dcd='docker-compose down' -alias dcup='docker-compose up -d' +alias dcd='docker-compose down' +alias dcup='docker-compose up -d' alias dcupb='docker-compose up -d --build'