update readme
This commit is contained in:
parent
925b63d339
commit
5307b6e223
17
README.md
17
README.md
@ -73,6 +73,23 @@ your X server:
|
|||||||
xhost +SI:localuser:$(id -un)
|
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
|
## Troubleshooting
|
||||||
|
|
||||||
You might want to modify the `docker-compose.yml` in case of problems,
|
You might want to modify the `docker-compose.yml` in case of problems,
|
||||||
|
Loading…
Reference in New Issue
Block a user