Giter Site home page Giter Site logo

docker-wine-steam's People

Contributors

mrestivill avatar webanck avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker-wine-steam's Issues

Can't add file /tmp/.ICE-unix/1217 to tar: archive/tar: sockets not supported.

Thanks for making this tool!

Just did a fresh install of Ubuntu 18.04 LTS and this repo is the first thing I tried to install after git.

  • Ran the commands for installing docker community edition
  • cloned the repo into /opt/docker-wine-steam
  • sudo su -
  • cd /opt/docker-wine-steam
  • ./builder.sh

Then got the following output

root@alleung-System-Product-Name:/opt/docker-wine-steam# ./builder.sh 
ERRO[0000] Can't add file /tmp/.ICE-unix/1217 to tar: archive/tar: sockets not supported 
ERRO[0000] Can't add file /tmp/.X11-unix/X0 to tar: archive/tar: sockets not supported 
ERRO[0000] Can't add file /tmp/ssh-kIBaRCTVxT62/agent.1217 to tar: archive/tar: sockets not supported 
Sending build context to Docker daemon  533.5kB
[WARNING]: Empty continuation line found in:
    RUN	dpkg --add-architecture i386 && 	apt-get update && 	apt-get upgrade -y && 	apt-get install -y --no-install-recommends software-properties-common apt-transport-https wget && 	add-apt-repository ppa:graphics-drivers/ppa && 	wget -nc https://dl.winehq.org/wine-builds/Release.key && apt-key add Release.key && add-apt-repository https://dl.winehq.org/wine-builds/ubuntu/ && 	apt-get update && 	apt-get install -y --no-install-recommends initramfs-tools nvidia-384 && 	apt-get install -y --no-install-recommends winehq-stable cabextract unzip p7zip zenity && 	wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks && chmod +x winetricks && mv winetricks /usr/local/bin && 	apt-get install -y --no-install-recommends winbind && 	apt-get install -y --no-install-recommends p11-kit-modules:i386 libp11-kit-gnome-keyring:i386 && 	apt-get install -y --no-install-recommends pulseaudio:i386 && 	sed -i "s/; enable-shm = yes/enable-shm = no/g" /etc/pulse/daemon.conf && 	sed -i "s/; enable-shm = yes/enable-shm = no/g" /etc/pulse/client.conf && 	su -p -l wine -c 'winecfg && wineserver --wait' && 	su -p -l wine -c 'winetricks -q winxp && wineserver --wait' && 	su -p -l wine -c 'winetricks -q sound=pulse && wineserver --wait' && 	su -p -l wine -c 'winetricks -q corefonts && wineserver --wait' && 	su -p -l wine -c 'winetricks -q dotnet40 && wineserver --wait' && 	su -p -l wine -c 'winetricks -q xna40 && wineserver --wait' && 	su -p -l wine -c 'winetricks -q d3dx9 && wineserver --wait' && 	su -p -l wine -c 'winetricks -q directplay && wineserver --wait' && 	apt-get autoremove -y --purge software-properties-common && 	apt-get autoremove -y --purge && 	apt-get clean -y && 	rm -rf /home/wine/.cache && 	rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
[WARNING]: Empty continuation lines will become errors in a future release.
Step 1/15 : FROM ubuntu
latest: Pulling from library/ubuntu
5b7339215d1d: Pull complete 
14ca88e9f672: Pull complete 
a31c3b1caad4: Pull complete 
b054a26005b7: Pull complete 
Digest: sha256:9b1702dcfe32c873a770a32cfd306dd7fc1c4fd134adfb783db68defc8894b3c
Status: Downloaded newer image for ubuntu:latest
 ---> 4c108a37151f
Step 2/15 : MAINTAINER Antoine Webanck <[email protected]>
 ---> Running in b4a08ade2b8b
Removing intermediate container b4a08ade2b8b
 ---> e61e6e5ba6d8
Step 3/15 : RUN useradd -u 0 -d /home/wine -m -s /bin/bash wine
 ---> Running in 01170350418b
useradd: UID 0 is not unique
The command '/bin/sh -c useradd -u 0 -d /home/wine -m -s /bin/bash wine' returned a non-zero code: 4

Build.sh stops because UID is readonly variable

Hi. Thank you for great tools.

When I run build.sh, I got following error.

./builder.sh: line 4: UID: readonly variable

I found that $UID is already assigned to 1000, and I can remove line 4.

So, we should check whether $UID is empty or not like following:

if [ -z "$UID" ]; then
    UID=`id -u`
fi

I confirm it works in my system, but not other systems (i.e Ubuntu or ...)

My system is

  • Arch linux 64bit
  • Shell is zsh

New dependency needed to build

Seems the nvidia-361 installation fails with the following message unless initramfs-tools is installed.

/var/lib/dpkg/info/nvidia-361.postinst: 213: /var/lib/dpkg/info/nvidia-361.postinst: update-initramfs: not found
dpkg: error processing package nvidia-361 (--configure):
 subprocess installed post-installation script returned error exit status 127

Failed to query current display settings

Is it possible to get this to run via SSH on a headless server? If not, is it possible to get this run via SSH at all, even if it is using one of my displays to run it on?

Here is the error I get, after running builder.sh:

Executing cd /home/wine
Executing w_do_call remove_mono
Executing mkdir -p /home/wine
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Executing load_remove_mono 
------------------------------------------------------
warning: Mono does not appear to be installed.
------------------------------------------------------
Executing w_do_call winxp
Executing mkdir -p /home/wine
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Executing load_winxp 
Executing wine winecfg -v winxp64
01b8:err:explorer:initialize_display_settings Failed to query current display settings for L"\\\\.\\DISPLAY1".
------------------------------------------------------
warning: Running /usr/bin/wineserver -w. This will hang until all wine processes in prefix=/home/wine/.wine terminate
------------------------------------------------------
Executing cd /home/wine/.cache/winetricks/dotnet40
Executing wine dotNetFx40_Full_x86_x64.exe /q /c:install.exe /q
0050:err:explorer:initialize_display_settings Failed to query current display settings for L"\\\\.\\DISPLAY1".
0024:fixme:heap:RtlSetHeapInformation 00000000 1 00000000 0 stub
0024:fixme:process:SetProcessDEPPolicy (3): stub
0024:fixme:clusapi:OpenCluster ((null)) stub!
0024:fixme:clusapi:ClusterOpenEnum (DEADBEEF, 4) stub!
0024:fixme:clusapi:ClusterEnum (DEADBEEF, 0, 0031F920, 00128860, 261) stub!
0024:fixme:clusapi:ClusterCloseEnum (DEADBEEF) stub!
0024:fixme:clusapi:CloseCluster (DEADBEEF) stub!
0024:fixme:advapi:DecryptFileW (L"C:\\7cb0ad2752b0d757668ca3a669\\", 00000000): stub
Preparing: C:\7cb0ad2752b0d757668ca3a669\netfx_Core_x64.msi...
Preparing: C:\7cb0ad2752b0d757668ca3a669\netfx_Core_x86.msi...
Preparing: C:\7cb0ad2752b0d757668ca3a669\netfx_Extended_x64.msi...
Preparing: C:\7cb0ad2752b0d757668ca3a669\netfx_Extended_x86.msi...
Preparing: C:\7cb0ad2752b0d757668ca3a669\RGB9RAST_x64.msi...
Preparing: C:\7cb0ad2752b0d757668ca3a669\RGB9Rast_x86.msi...
Preparing: C:\7cb0ad2752b0d757668ca3a669\header.bmp...
Preparing: C:\7cb0ad2752b0d757668ca3a669\SplashScreen.bmp...
Preparing: C:\7cb0ad2752b0d757668ca3a669\watermark.bmp...
Preparing: C:\7cb0ad2752b0d757668ca3a669\DisplayIcon.ico...
Preparing: C:\7cb0ad2752b0d757668ca3a669\Graphics\Print.ico...
Preparing: C:\7cb0ad2752b0d757668ca3a669\Graphics\Rotate1.ico...
Preparing: C:\7cb0ad2752b0d757668ca3a669\Graphics\Rotate2.ico...
Preparing: C:\7cb0ad2752b0d757668ca3a669\Graphics\Rotate3.ico...
Preparing: C:\7cb0ad2752b0d757668ca3a669\Graphics\Rotate4.ico...
Preparing: C:\7cb0ad2752b0d757668ca3a669\Graphics\Rotate5.ico...
Preparing: C:\7cb0ad2752b0d757668ca3a669\Graphics\Rotate6.ico...
Preparing: C:\7cb0ad2752b0d757668ca3a669\Graphics\Rotate7.ico...
Preparing: C:\7cb0ad2752b0d757668ca3a669\Graphics\Rotate8.ico...
Preparing: C:\7cb0ad2752b0d757668ca3a669\Graphics\Save.ico...
Preparing: C:\7cb0ad2752b0d757668ca3a669\Graphics\Setup.ico...
Preparing: C:\7cb0ad2752b0d757668ca3a669\Graphics\stop.ico...
Preparing: C:\7cb0ad2752b0d757668ca3a669\Graphics\SysReqMet.ico...
Preparing: C:\7cb0ad2752b0d757668ca3a669\Graphics\SysReqNotMet.ico...
Preparing: C:\7cb0ad2752b0d757668ca3a669\Graphics\warn.ico...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1033\LocalizedData.xml...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1042\LocalizedData.xml...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1041\LocalizedData.xml...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1037\LocalizedData.xml...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1025\LocalizedData.xml...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1035\LocalizedData.xml...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1030\LocalizedData.xml...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1044\LocalizedData.xml...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1043\LocalizedData.xml...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1040\LocalizedData.xml...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1029\LocalizedData.xml...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1031\LocalizedData.xml...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1036\LocalizedData.xml...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1032\LocalizedData.xml...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1038\LocalizedData.xml...
Preparing: C:\7cb0ad2752b0d757668ca3a669\2052\LocalizedData.xml...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1028\LocalizedData.xml...
Preparing: C:\7cb0ad2752b0d757668ca3a669\3076\LocalizedData.xml...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1055\LocalizedData.xml...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1053\LocalizedData.xml...
Preparing: C:\7cb0ad2752b0d757668ca3a669\3082\LocalizedData.xml...
Preparing: C:\7cb0ad2752b0d757668ca3a669\2070\LocalizedData.xml...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1046\LocalizedData.xml...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1049\LocalizedData.xml...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1045\LocalizedData.xml...
Preparing: C:\7cb0ad2752b0d757668ca3a669\Client\Parameterinfo.xml...
Preparing: C:\7cb0ad2752b0d757668ca3a669\Extended\Parameterinfo.xml...
Preparing: C:\7cb0ad2752b0d757668ca3a669\ParameterInfo.xml...
Preparing: C:\7cb0ad2752b0d757668ca3a669\Strings.xml...
Preparing: C:\7cb0ad2752b0d757668ca3a669\UiInfo.xml...
Preparing: C:\7cb0ad2752b0d757668ca3a669\Client\UiInfo.xml...
Preparing: C:\7cb0ad2752b0d757668ca3a669\Extended\UiInfo.xml...
Preparing: C:\7cb0ad2752b0d757668ca3a669\SetupUi.xsd...
Preparing: C:\7cb0ad2752b0d757668ca3a669\DHtmlHeader.html...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1033\eula.rtf...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1025\eula.rtf...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1028\eula.rtf...
Preparing: C:\7cb0ad2752b0d757668ca3a669\10300fc:fixme:ntdll:EtwRegisterTraceGuidsW (00335F38, 00340180, {e2821408-c59d-418f-ad3f-aa4e792aeb79}, 1, 0031E9A0, (null), (null), 00340188): stub
00fc:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {e2821408-c59d-418f-ad3f-aa4e792aeb79}
00fc:fixme:heap:RtlSetHeapInformation 00000000 1 00000000 0 stub
00fc:fixme:process:SetProcessDEPPolicy (1): stub
00fc:fixme:heap:RtlSetHeapInformation 00000000 1 00000000 0 stub
00fc:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
00fc:fixme:advapi:LsaOpenPolicy ((null),0031F518,0x00000001,0031F50C) stub
00fc:fixme:security:GetWindowsAccountDomainSid (0031F498 0019757C 0031F494): semi-stub
00fc:fixme:secur32:GetComputerObjectNameW NameFormat 7 not implemented
00fc:fixme:advapi:LsaClose (0000CAFE) stub
0100:fixme:file:NtLockFile I/O completion on lock not implemented yet
0100:fixme:wintrust:SOFTPUB_VerifyImageHash Cannot verify hash for pszObjId="1.3.6.1.4.1.311.2.1.30"
0100:fixme:wintrust:SOFTPUB_VerifyImageHash Cannot verify hash for pszObjId="1.3.6.1.4.1.311.2.1.25"
0100:fixme:wintrust:SOFTPUB_VerifyImageHash Cannot verify hash for pszObjId="1.3.6.1.4.1.311.2.1.25"
0100:fixme:wintrust:SOFTPUB_VerifyImageHash Cannot verify hash for pszObjId="1.3.6.1.4.1.311.2.1.25"
0100:fixme:wintrust:SOFTPUB_VerifyImageHash Cannot verify hash for pszObjId="1.3.6.1.4.1.311.2.1.30"
0100:fixme:wintrust:SOFTPUB_VerifyImageHash Cannot verify hash for pszObjId="1.3.6.1.4.1.311.2.1.25"
0100:fixme:wintrust:SOFTPUB_VerifyImageHash Cannot verify hash for pszObjId="1.3.6.1.4.1.311.2.1.30"
0104:err:mscoree:LoadLibraryShim error reading registry key for installroot
0104:err:mscoree:LoadLibraryShim error reading registry key for installroot
0104:err:mscoree:LoadLibraryShim error reading registry key for installroot
0104:err:mscoree:LoadLibraryShim error reading registry key for installroot
0104:err:msi:ACTION_InstallFiles compressed file wasn't installed (L"rgb9rast_2._x86")
0104:err:msi:execute_script Execution of script 0 halted; action L"InstallFiles" returned 1603
0104:err:msi:ITERATE_Actions Execution halted, action L"InstallFinalize" returned 1603
00fc:fixme:advapi:LsaOpenPolicy ((null),0031F368,0x00000001,0031F35C) stub
00fc:fixme:security:GetWindowsAccountDomainSid (0031F2E8 018AC4E4 0031F2E4): semi-stub
00fc:fixme:secur32:GetComputerObjectNameW NameFormat 7 not implemented
00fc:fixme:advapi:LsaClose (0000CAFE) stub
00fc:fixme:ntdll:EtwUnregisterTraceGuids deadbeef: stub
0\eula.rtf...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1031\eula.rtf...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1029\eula.rtf...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1036\eula.rtf...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1035\eula.rtf...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1032\eula.rtf...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1038\eula.rtf...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1037\eula.rtf...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1040\eula.rtf...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1041\eula.rtf...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1042\eula.rtf...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1044\eula.rtf...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1043\eula.rtf...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1046\eula.rtf...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1045\eula.rtf...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1055\eula.rtf...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1053\eula.rtf...
Preparing: C:\7cb0ad2752b0d757668ca3a669\2052\eula.rtf...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1049\eula.rtf...
Preparing: C:\7cb0ad2752b0d757668ca3a669\3082\eula.rtf...
Preparing: C:\7cb0ad2752b0d757668ca3a669\2070\eula.rtf...
Preparing: C:\7cb0ad2752b0d757668ca3a669\3076\eula.rtf...
Preparing: C:\7cb0ad2752b0d757668ca3a669\Setup.exe...
Preparing: C:\7cb0ad2752b0d757668ca3a669\SetupUtility.exe...
Preparing: C:\7cb0ad2752b0d757668ca3a669\SetupEngine.dll...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1025\SetupResources.dll...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1033\SetupResources.dll...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1029\SetupResources.dll...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1030\SetupResources.dll...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1035\SetupResources.dll...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1031\SetupResources.dll...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1036\SetupResources.dll...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1032\SetupResources.dll...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1028\SetupResources.dll...
Preparing: C:\7cb0ad2752b0d757668ca3a669\2052\SetupResources.dll...
Preparing: C:\7cb0ad2752b0d757668ca3a669\3076\SetupResources.dll...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1042\SetupResources.dll...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1041\SetupResources.dll...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1037\SetupResources.dll...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1044\SetupResources.dll...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1053\SetupResources.dll...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1055\SetupResources.dll...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1040\SetupResources.dll...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1045\SetupResources.dll...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1046\SetupResources.dll...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1049\SetupResources.dll...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1038\SetupResources.dll...
Preparing: C:\7cb0ad2752b0d757668ca3a669\2070\SetupResources.dll...
Preparing: C:\7cb0ad2752b0d757668ca3a669\3082\SetupResources.dll...
Preparing: C:\7cb0ad2752b0d757668ca3a669\1043\SetupResources.dll...
Preparing: C:\7cb0ad2752b0d757668ca3a669\SetupUi.dll...
Preparing: C:\7cb0ad2752b0d757668ca3a669\sqmapi.dll...
Preparing: C:\7cb0ad2752b0d757668ca3a669\Windows6.0-KB956250-v6001-x64.msu...
Preparing: C:\7cb0ad2752b0d757668ca3a669\Windows6.0-KB956250-v6001-x86.msu...
Preparing: C:\7cb0ad2752b0d757668ca3a669\Windows6.1-KB958488-v6001-x64.msu...
Preparing: C:\7cb0ad2752b0d757668ca3a669\Windows6.1-KB958488-v6001-x86.msu...
Preparing: C:\7cb0ad2752b0d757668ca3a669\netfx_Core.mzz...
Preparing: C:\7cb0ad2752b0d757668ca3a669\netfx_Extended.mzz...
------------------------------------------------------
warning: Note: command wine dotNetFx40_Full_x86_x64.exe /q /c:install.exe /q returned status 67. Aborting.
------------------------------------------------------
The command '/bin/sh -c dpkg --add-architecture i386 && 	apt-get update && 	apt-get upgrade -y && 	apt-get install -y --no-install-recommends gpg-agent software-properties-common apt-transport-https wget && 	add-apt-repository ppa:graphics-drivers/ppa && 	wget -nc https://dl.winehq.org/wine-builds/winehq.key && apt-key add winehq.key && add-apt-repository https://dl.winehq.org/wine-builds/ubuntu/ && 	apt-get update && 	apt-get install -y --no-install-recommends initramfs-tools nvidia-384 && 	apt-get install -y --no-install-recommends winehq-stable cabextract unzip p7zip zenity && 	wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks && chmod +x winetricks && mv winetricks /usr/local/bin && 	apt-get install -y --no-install-recommends winbind && 	apt-get install -y --no-install-recommends p11-kit-modules:i386 gnome-keyring:i386 && 	apt-get install -y --no-install-recommends pulseaudio:i386 && 	sed -i "s/; enable-shm = yes/enable-shm = no/g" /etc/pulse/daemon.conf && 	sed -i "s/; enable-shm = yes/enable-shm = no/g" /etc/pulse/client.conf && 	su -p -l wine -c 'winecfg && wineserver --wait' && 	su -p -l wine -c 'winetricks -q winxp && wineserver --wait' && 	su -p -l wine -c 'winetricks -q sound=pulse && wineserver --wait' && 	su -p -l wine -c 'winetricks -q corefonts && wineserver --wait' && 	su -p -l wine -c 'winetricks -q dotnet40 && wineserver --wait' && 	su -p -l wine -c 'winetricks -q xna40 && wineserver --wait' && 	su -p -l wine -c 'winetricks -q d3dx9 && wineserver --wait' && 	su -p -l wine -c 'winetricks -q directplay && wineserver --wait' && 	apt-get autoremove -y --purge software-properties-common && 	apt-get autoremove -y --purge && 	apt-get clean -y && 	rm -rf /home/wine/.cache && 	rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*' returned a non-zero code: 1

Game starting only 5 Times.

Hey, i wanted to start a steam-game 7 Times but i can only start it 5 Times. When i start the games the 6th time the game dose not open and i don't get any errors. but 5 work.
any idea?

regards, Alexey

Issue with /dev/nvidia-uvm

First of all, thanks for helping the community :)

I have an issue running the launcher.sh script:

[roberto@roberto docker-wine-steam]$ ./launcher.sh 
Trying to run a new data container.
The container already exists, relaunching the old one.
Error response from daemon: linux runtime spec devices: error gathering device information while adding custom device "/dev/nvidia-uvm": lstat /dev/nvidia-uvm: no such file or directory

I am running on Fedora 27 with those Graphic Cards:

[roberto@roberto docker-wine-steam]$ lspci | grep VGA
07:00.0 VGA compatible controller: NVIDIA Corporation GF119 [GeForce GT 610] (rev a1)  # Unused but working card
0a:00.0 VGA compatible controller: NVIDIA Corporation GK208B [GeForce GT 710] (rev a1)  # Main card

Can you help me pls!

ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Protocol error

pulseaudio 8.0 is running properly on host (Ubuntu 16.04.2 LTS)

after running finalize_installation and pressing the Audio tab of the wine configuration tool, wine crashes throwing the following error message:

shm_open() failed: No such file or directory
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Protocol error

same happens after running steam.

any ideas?

noninteractive is not working appropriately

I'm attempting to build your container and it's prompting during the Docker build process for the keyboard country of origin.

It looks like your script isn't setting the non-interactive flag appropriately. I'm going to fix it for myself on my end.

System Information

Linux {HOSTNAME} 5.4.0-80-generic #90-Ubuntu SMP Fri Jul 9 22:49:44 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Docker Version

Docker version 20.10.8, build 3967b7d

Running on Mac OS X

./launcher.sh
Trying to run a new data container.
The container already exists, relaunching the old old one.
Error response from daemon: Mounts denied:
The paths /dev/snd and /run/user/501/pulse/native
are not shared from OS X and do not belong to the system.
You can configure shared paths from Docker -> Preferences...

I'm not sure how to add those 2 paths here? or does this project even supported on Mac? :)

X Error of failed request: BadValue (integer parameter out of range for operation)

running Ubuntu 16.04.2 LTS and nvidia driver 375.39 (GTX 1070) on host.

steam prints the following output and terminates:

wine@tuxedo:~$ steam
ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
[2017-05-13 12:42:43] Startup - updater built Apr 25 2017 15:46:19
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2017-05-13 12:42:43] Checking for update on startup
[2017-05-13 12:42:43] Checking for available update...
[2017-05-13 12:42:44] Download skipped: /client/steam_client_win32 version 1493162727, installed version 1493162727
[2017-05-13 12:42:44] Nothing to do
[2017-05-13 12:42:44] Verifying installation...
[2017-05-13 12:42:44] Performing checksum verification of executable files
[2017-05-13 12:42:44] Verification complete
[0513/124244:ERROR:network_change_notifier_win.cc(170)] WSALookupServiceBegin failed with: 8
[0513/124244:ERROR:dns_config_service_win.cc(584)] DNS registry watch failed to start.
IPC client is in my process, could/should be using an in-process pipe. shm_unlink(/pulse-shm-1705972837) failed: No such file or directory
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 154 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 1170
Current serial number in output stream: 1171

Build Not Working

Hey,

I'm attempting to build your package but it fails. it seems to be giving many errors associated with a bad connection with ubuntu archives. Here is an example:

---> Running in 07e80aeacbe7
Err http://archive.ubuntu.com trusty InRelease

Err http://archive.ubuntu.com trusty-updates InRelease

Err http://archive.ubuntu.com trusty-security InRelease

Err http://archive.ubuntu.com trusty Release.gpg
Could not resolve 'archive.ubuntu.com'
Err http://archive.ubuntu.com trusty-updates Release.gpg
Could not resolve 'archive.ubuntu.com'
Err http://archive.ubuntu.com trusty-security Release.gpg
Could not resolve 'archive.ubuntu.com'
Reading package lists...
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/InRelease

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-security/InRelease

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg Could not resolve 'archive.ubuntu.com'

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/Release.gpg Could not resolve 'archive.ubuntu.com'

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-security/Release.gpg Could not resolve 'archive.ubuntu.com'

W: Some index files failed to download. They have been ignored, or old ones used instead.

not sure what's going on with this. do you have any suggestions. Thanks!

Error: No such container: vaporized_wine

./builder.sh is running fine, but ./launcher.sh gives me the following error:

[user@nuc docker-wine-steam]$ ./launcher.sh
Trying to run a new data container.
The container already exists, relaunching the old one.
Error: No such container: vaporized_wine

I edited launcher.sh like this and created a new shell script launcher2.sh:

#!/bin/sh

CONTAINER_NAME=vaporized_wine

echo 'Trying to run a new data container.' && \
sudo docker run -it \
                -e DISPLAY \
                -v /tmp/.X11-unix:/tmp/.X11-unix:ro \
                -v ~/.Xauthority:/home/wine/.Xauthority \
                --ipc="host" \
                --device=/dev/snd:/dev/snd \
                --device=/dev/dri:/dev/dri \
                -v /run/user/`id -u`/pulse/native:/run/user/`id -u`/pulse/native \
                -v `pwd`/shared_directory:/home/wine/shared_directory \
                --net=host \
                --restart=no \
                --name "$CONTAINER_NAME" \
                webanck/docker-wine-steam \
[user@nuc docker-wine-steam]$ ./launcher2.sh
Trying to run a new data container.
Unable to find image 'webanck/docker-wine-steam:latest' locally
docker: Error response from daemon: pull access denied for webanck/docker-wine-steam, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.

And truly, i wasn't able to find webanck/docker-wine-steam. Is this project still under development?

Failure in dockerfile

Line #33:
ARG DEBIAN_FRONTEND noninteractive
should be changed to
ARG DEBIAN_FRONTEND=noninteractive

gpg: failed to start agent '/usr/bin/gpg-agent': No such file or directory

Hi, while running builder.sh I have a following error

2019-01-09 10:55:42-- https://dl.winehq.org/wine-builds/Release.key
Resolving dl.winehq.org (dl.winehq.org)... 151.101.2.217, 151.101.66.217, 151.101.130.217, ...
Connecting to dl.winehq.org (dl.winehq.org)|151.101.2.217|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3122 (3.0K) [application/pgp-keys]
Saving to: 'Release.key'

 0K ...                                                   100% 21.4M=0s

2019-01-09 10:55:43 (21.4 MB/s) - 'Release.key' saved [3122/3122]

Warning: apt-key output should not be parsed (stdout is not a terminal)
gpg: failed to start agent '/usr/bin/gpg-agent': No such file or directory
gpg: can't connect to the agent: No such file or directory
The command '/bin/sh -c dpkg --add-architecture i386 && apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends software-properties-common apt-transport-https wget && add-apt-repository ppa:graphics-drivers/ppa && wget -nc https://dl.winehq.org/wine-builds/Release.key && apt-key add Release.key && add-apt-repository https://dl.winehq.org/wine-builds/ubuntu/ && apt-get update && apt-get install -y --no-install-recommends initramfs-tools nvidia-384 && apt-get install -y --no-install-recommends winehq-stable cabextract unzip p7zip zenity && wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks && chmod +x winetricks && mv winetricks /usr/local/bin && apt-get install -y --no-install-recommends winbind && apt-get install -y --no-install-recommends p11-kit-modules:i386 libp11-kit-gnome-keyring:i386 && apt-get install -y --no-install-recommends pulseaudio:i386 && sed -i "s/; enable-shm = yes/enable-shm = no/g" /etc/pulse/daemon.conf && sed -i "s/; enable-shm = yes/enable-shm = no/g" /etc/pulse/client.conf && su -p -l wine -c 'winecfg && wineserver --wait' && su -p -l wine -c 'winetricks -q winxp && wineserver --wait' && su -p -l wine -c 'winetricks -q sound=pulse && wineserver --wait' && su -p -l wine -c 'winetricks -q corefonts && wineserver --wait' && su -p -l wine -c 'winetricks -q dotnet40 && wineserver --wait' && su -p -l wine -c 'winetricks -q xna40 && wineserver --wait' && su -p -l wine -c 'winetricks -q d3dx9 && wineserver --wait' && su -p -l wine -c 'winetricks -q directplay && wineserver --wait' && apt-get autoremove -y --purge software-properties-common && apt-get autoremove -y --purge && apt-get clean -y && rm -rf /home/wine/.cache && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*' returned a non-zero code: 2

No suitable graphics card found

Terminal output:
[0714/064552:ERROR:network_change_notifier_win.cc(173)] WSALookupServiceBegin failed with: 8
libGL error: failed to open drm device: Permission denied
libGL error: failed to load driver: i965
IPC client is in my process, could/should be using an in-process pipe.[0714/064602:ERROR:renderer_main.cc(212)] Running without renderer sandbox
IPC client is in my process, could/should be using an in-process pipe.Setting breakpad minidump AppID = 105600
Steam_SetMinidumpSteamID: Caching Steam ID: 76561198020330290 [API loaded no]
libGL error: failed to open drm device: Permission denied
libGL error: failed to load driver: i965
[0714/064703:ERROR:renderer_main.cc(212)] Running without renderer sandbox
[0714/064703:WARNING:cache_util.cc(86)] Unable to delete cache folder.

Popup error:
No suitable graphics card found.
Could not find a Direct3D device that supports the XNA Framework Reach profile.
Verify that a suitable grahpics device is installed.
Make sure the desktop is not locked, and that no other application is running in full screen mode.
Avoid running under Remote Desktop or as a Windows service.
Check the display properties to make sure hardware acceleration is set to Full.

Graphics card information:
VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
Subsystem: Sony Corporation Device 90b6
Flags: bus master, fast devsel, latency 0, IRQ 45
Memory at f6400000 (64-bit, non-prefetchable) [size=4M]
Memory at e0000000 (64-bit, prefetchable) [size=256M]
I/O ports at f000 [size=64]
Expansion ROM at [disabled]
Capabilities:
Kernel driver in use: i915
Kernel modules: i915

INFO[0000] [8] System error: exec format error

When running on Dell laptop running Ubuntu 15.04 32-bit:

Sending build context to Docker daemon 16.38 kB
Sending build context to Docker daemon
Step 0 : FROM ubuntu
---> 08881219da4a
Step 1 : MAINTAINER Antoine Webanck [email protected]
---> Using cache
---> a69268f7c24c
Step 2 : RUN useradd -u 1000 -d /home/wine -m -s /bin/bash wine
---> Running in 95caf7824fd2
INFO[0000] [8] System error: exec format error

Got error when run winecfg in container.

wine@darkstar:~$ winecfg
preloader: Warning: failed to reserve range 00010000-00110000
preloader: Warning: failed to reserve range 00010000-00110000
preloader: Warning: failed to reserve range 00010000-00110000
preloader: Warning: failed to reserve range 00010000-00110000
preloader: Warning: failed to reserve range 00010000-00110000
preloader: Warning: failed to reserve range 00010000-00110000
preloader: Warning: failed to reserve range 00010000-00110000
preloader: Warning: failed to reserve range 00010000-00110000
No protocol specified
wine@darkstar:~$ exit

run steam is same

wine@darkstar:~$ steam 
preloader: Warning: failed to reserve range 00010000-00110000
wine: cannot find '/home/wine/.wine/drive_c/Program Files/Steam/Steam.exe'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.