update readme
This commit is contained in:
parent
5307b6e223
commit
40d061ea32
@ -78,15 +78,14 @@ You can use the following alias:
|
|||||||
> add this to your ``~/.bash_alias`` file
|
> add this to your ``~/.bash_alias`` file
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
function docker_helper_run() {
|
function docker_helper_up() {
|
||||||
command cd ~/git/$1
|
command cd ~/git/$1
|
||||||
docker-compose rm -f "$1"
|
docker-compose up -d "$1"
|
||||||
docker-compose run -d --name "$1" "$@"
|
|
||||||
command cd ~-
|
command cd ~-
|
||||||
}
|
}
|
||||||
|
|
||||||
function steam() {
|
function steam() {
|
||||||
docker_helper_run "$FUNCNAME" "$@"
|
docker_helper_up "$FUNCNAME" "$@"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user