Skip to content

Commit

Permalink
Make host user match container user
Browse files Browse the repository at this point in the history
  • Loading branch information
ppedrioli committed Oct 5, 2016
1 parent bfe0b9d commit aa309c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash


docker run -e LOCAL_USER_ID -e DISPLAY -v $HOME/.Xauthority:/home/user/.Xauthority -it --rm --net=host ppatrick/wine $@
docker run -e LOCAL_USER_ID=`id -u $USER` -e DISPLAY -v $HOME/.Xauthority:/home/user/.Xauthority -it --rm --net=host ppatrick/wine $@

0 comments on commit aa309c4

Please sign in to comment.