fixed a typo in README

pull/14/head
Andy 8 years ago
parent e93152925a
commit a79f8488dc
Signed by: arno
GPG Key ID: 368DDA2E9A471EAC

@ -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.

Loading…
Cancel
Save