fixed a typo in README

This commit is contained in:
Andy 2016-10-27 20:34:56 +02:00
parent e93152925a
commit a79f8488dc
Signed by: arno
GPG Key ID: 368DDA2E9A471EAC

View File

@ -59,15 +59,16 @@ xhost +SI:localuser:$(id -un)
You can use the following shortcut function and place it to your `~/.bash_aliases` file: You can use the following shortcut function and place it to your `~/.bash_aliases` file:
```sh ```sh
function docker_helper() {{ function docker_helper() {
pushd ~/docker/$1 pushd ~/docker/$1
docker-compose rm -fa "$1" docker-compose rm -fa "$1"
docker-compose run -d --name "$1" "$@" docker-compose run -d --name "$1" "$@"
popd popd
}} }
function steam() { function steam() {
docker_helper $FUNCNAME $@ docker_helper $FUNCNAME $@
}} }
``` ```
Then just use `steam` command to run Steam in docker. Then just use `steam` command to run Steam in docker.