Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ppedrioli authored Oct 5, 2016
1 parent fa4b020 commit 74281e2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ A basic wine container with support for X11 forwarding and matching of user betw

To start the container with a user id matching the current host user:

docker run -e LOCAL_USER_ID=`id -u $USER` -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 /bin/bash

For convenience this can also be achieved via:

run.sh /bin/bash

Please note that wine has not been initialized in the image. You can do so with:

Expand Down

0 comments on commit 74281e2

Please sign in to comment.