#!/bin/bash # NOTE: the /home/steve/.wine (or should it be) /home/stevet/.wine must match your home directory. # NOTE: I tried $(pwd)/passwd in case the /bin/bash was causing issues with alpine. # use $(id -u -n) for the current username docker run --rm --ipc=host --volume /tmp/.X11-unix/X0:/tmp/.X11-unix/X0 --volume $(pwd)/wine:/home/$(id -u -n)/.wine --volume /etc/passwd:/etc/passwd:ro -u $(id -u):$(id -g) wine "C:\\bal3\\Balsamiq Mockups 3.exe"