update README

This commit is contained in:
Andy 2016-05-20 11:21:54 +02:00
parent b9648d0435
commit c27f3a93bd
Signed by: arno
GPG Key ID: 368DDA2E9A471EAC

View File

@ -11,10 +11,13 @@ Running [mps-youtube](https://github.com/mps-youtube/mps-youtube) in Docker
docker-compose run --rm mps-youtube
```
You can use the following alias and place it to your `~/.bash_aliases` file
Place the following alias to your `~/.bash_aliases` file
```
alias mps-youtube='(cd ~/docker/mps-youtube; docker-compose run --rm mps-youtube)'
alias docker="sudo -E docker"
alias docker-compose="sudo -E docker-compose"
function docker_helper_fg() { { pushd ~/docker/$1; docker-compose rm -fa "$1"; docker-compose run --name "$1" "$@"; popd; } }
function mps-youtube() { { docker_helper_fg $FUNCNAME $@; } }
```
### with Docker