1
0
Fork 0

Refactor (docker): fix geometry on each interactive terminal alias

pull/1646/head
François VANTOMME 6 years ago
parent f06c62ed9c
commit e8964b0dd0

@ -58,6 +58,7 @@ Defines [Docker][1] aliases and functions.
- `dkCcp` Copy files/folders between a container and the local filesystem - `dkCcp` Copy files/folders between a container and the local filesystem
- `dkCd` Inspect changes on a container's filesystem - `dkCd` Inspect changes on a container's filesystem
- `dkCe` Run a command in a running container - `dkCe` Run a command in a running container
- `dkCE` Run an interactive command in a running container
- `dkCin` Display detailed information on one or more containers - `dkCin` Display detailed information on one or more containers
- `dkCk` Kill one or more running containers - `dkCk` Kill one or more running containers
- `dkCl` Fetch the logs of a container - `dkCl` Fetch the logs of a container

@ -35,8 +35,8 @@ alias dkph='docker push'
alias dkps='docker ps' alias dkps='docker ps'
alias dkpsa='docker ps -a' alias dkpsa='docker ps -a'
alias dkr='docker run' alias dkr='docker run'
alias dkR='docker run -it --rm' alias dkR='docker run -e COLUMNS=`tput cols` -e LINES=`tput lines` -it --rm'
alias dkRe='docker run -it --rm --entrypoint /bin/bash' alias dkRe='docker run -e COLUMNS=`tput cols` -e LINES=`tput lines` -it --rm --entrypoint /bin/bash'
alias dkRM='docker system prune' alias dkRM='docker system prune'
alias dkrm='docker rm' alias dkrm='docker rm'
alias dkrmi='docker rmi' alias dkrmi='docker rmi'
@ -59,6 +59,7 @@ alias dkCa='docker container attach'
alias dkCcp='docker container cp' alias dkCcp='docker container cp'
alias dkCd='docker container diff' alias dkCd='docker container diff'
alias dkCe='docker container exec' alias dkCe='docker container exec'
alias dkCE='docker container exec -e COLUMNS=`tput cols` -e LINES=`tput lines` -it'
alias dkCin='docker container inspect' alias dkCin='docker container inspect'
alias dkCk='docker container kill' alias dkCk='docker container kill'
alias dkCl='docker container logs' alias dkCl='docker container logs'
@ -70,8 +71,8 @@ alias dkCrn='docker container rename'
alias dkCS='docker container restart' alias dkCS='docker container restart'
alias dkCrm='docker container rm' alias dkCrm='docker container rm'
alias dkCr='docker container run' alias dkCr='docker container run'
alias dkCR='docker container run -it --rm' alias dkCR='docker container run -e COLUMNS=`tput cols` -e LINES=`tput lines` -it --rm'
alias dkCRe='docker container run -it --rm --entrypoint /bin/bash' alias dkCRe='docker container run -e COLUMNS=`tput cols` -e LINES=`tput lines` -it --rm --entrypoint /bin/bash'
alias dkCs='docker container start' alias dkCs='docker container start'
alias dkCss='docker container stats' alias dkCss='docker container stats'
alias dkCx='docker container stop' alias dkCx='docker container stop'

Loading…
Cancel
Save