Update Readme
This commit is contained in:
parent
b1e9a4b534
commit
2618a40552
@ -75,16 +75,20 @@ zshrefresh
|
|||||||
|
|
||||||
######
|
######
|
||||||
```
|
```
|
||||||
|
alias d="docker"
|
||||||
alias dc="docker-compose"
|
alias dc="docker-compose"
|
||||||
alias dm="docker-machine"
|
alias dm="docker-machine"
|
||||||
alias dmq="eval $(docker-machine env -u)"
|
|
||||||
|
|
||||||
|
|
||||||
|
# Set Docker-Machine node Env
|
||||||
# Example: dme node1
|
# Example: dme node1
|
||||||
dme() {
|
dme() {
|
||||||
eval $(docker-machine env $1)
|
eval $(docker-machine env $1)
|
||||||
}
|
}
|
||||||
|
|
||||||
alias d="docker"
|
# Quit Docker-Machine node Env
|
||||||
|
alias dmq="eval $(docker-machine env -u)"
|
||||||
|
|
||||||
alias cleanContainers="docker container rm \$(docker container ls -a -q) "
|
alias cleanContainers="docker container rm \$(docker container ls -a -q) "
|
||||||
alias cleanVolumes="docker volume rm \$(docker volume ls -q) "
|
alias cleanVolumes="docker volume rm \$(docker volume ls -q) "
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user