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