docker-wine icon indicating copy to clipboard operation
docker-wine copied to clipboard

wine: '/home/docker/wine' is not owned by you, refusing to create a configuration directory there

Open ostrokach opened this issue 8 years ago • 1 comments

I am getting the following error when I try to run the Usage (Local) command:

username@username-desktop ~ $ sudo docker run     --privileged     --rm     -ti     -e DISPLAY     -v /tmp/.X11-unix:/tmp/.X11-unix:ro     -v ~/docker-data/wine:/home/docker/wine/     -v /etc/localtime:/etc/localtime:ro     -u docker     yantis/wine /bin/bash -c "sudo initialize-graphics >/dev/null 2>/dev/null; vglrun /home/docker/templates/skype.template;"
------------------------------------------------------
wine cmd.exe /c echo '%ProgramFiles%' returned empty string, error message "wine: '/home/docker/wine' is not owned by you, refusing to create a configuration directory there" 
------------------------------------------------------
------------------------------------------------------
wine cmd.exe /c echo '%ProgramFiles%' returned empty string, error message "wine: '/home/docker/wine' is not owned by you, refusing to create a configuration directory there" 
------------------------------------------------------
/home/docker/templates/skype.template: line 28: cd: /home/docker/wine/skype/drive_c/: No such file or directory
--2018-04-23 15:29:19--  https://gallery.technet.microsoft.com/Skype-63-Silent-Installer-74a99dcd/file/142608/12/Skype%207.18.32.112%20silent.exe
Resolving gallery.technet.microsoft.com... 65.52.103.91
Connecting to gallery.technet.microsoft.com|65.52.103.91|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-04-23 15:29:19 ERROR 404: Not Found.

wine: '/home/docker/wine' is not owned by you, refusing to create a configuration directory there
wine: '/home/docker/wine' is not owned by you, refusing to create a configuration directory there

Any idea what I am doing wrong?

Thanks!

ostrokach avatar Apr 23 '18 19:04 ostrokach

Excrept from this file:

# Note make sure to create your  ~/docker-data/X
# directory beforehand or you might have permissions issues 
# if it gets auto created.

Long story short

sudo rm -rf ~/docker-data/wine
mkdir ~/docker-data/wine

should do the trick.

alexandrukis avatar May 24 '18 16:05 alexandrukis