|
@@ -100,10 +100,10 @@ alias dkrm='docker rm -f $1'
|
|
|
alias dkrmi='docker rmi -f $1'
|
|
|
alias dkimage='docker images --format "table {{.ID}}\t{{.Repository}}\t{{.Tag}}\t{{.Size}}"'
|
|
|
alias dkip='docker inspect --format="{{.Name}} - {{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}" $(docker ps -aq)'
|
|
|
-dkin() {
|
|
|
+function dkin() {
|
|
|
docker exec -it "$1" bash
|
|
|
}
|
|
|
-dkinsh(){
|
|
|
+function dkinsh(){
|
|
|
docker exec -it $1 sh
|
|
|
}
|
|
|
alias dklog='docker logs -n 300 -f $1'
|