diff --git a/README.md b/README.md index f990ec4..92c0514 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,23 @@ your X server: xhost +SI:localuser:$(id -un) ``` +You can use the following alias: + +> add this to your ``~/.bash_alias`` file + +```sh +function docker_helper_run() { + command cd ~/git/$1 + docker-compose rm -f "$1" + docker-compose run -d --name "$1" "$@" + command cd ~- +} + +function steam() { + docker_helper_run "$FUNCNAME" "$@" +} +``` + ## Troubleshooting You might want to modify the `docker-compose.yml` in case of problems,