Skip to content

Commit

Permalink
added quickstart tipp - bash_alias usage recommended
Browse files Browse the repository at this point in the history
  • Loading branch information
sxander committed Nov 2, 2020
1 parent 137c4c1 commit 7f147f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
## Quickstart:
* checkout repo
* build image with `docker build -t alfaview:latest .`
* run alfaview anytime with `docker run -d --rm --network host --cpuset-cpus 0 --memory 512mb -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=unix$DISPLAY -e XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR -v $HOME/.local/share/alfaview:/home/alfaview/.local/share/alfaview --device /dev/snd --device /dev/video[0-3] --device /dev/dri -v /dev/shm:/dev/shm alfaview:latest`
* run alfaview anytime with `docker run -d --rm --network host --cpuset-cpus 0 --memory 512mb -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=unix$DISPLAY -e XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR -v $HOME/.local/share/alfaview:/home/alfaview/.local/share/alfaview --device /dev/snd --device /dev/video[0-3] --device /dev/dri -v /dev/shm:/dev/shm alfaview:latest`
* pro-tipp: create a alias in ~/.bash_aliases

0 comments on commit 7f147f7

Please sign in to comment.