You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
Note: command 'wine dotnetfx.exe /q /c:install.exe /q' returned status 43. Aborting.
dockerfile :
FROM suchja/wine
ENV WINEDEBUG -all,err+all
USER root
COPY waitonprocess.sh /scripts/
RUN chmod +x /scripts/waitonprocess.sh
COPY docker-entrypoint.sh /scripts/
RUN chmod +x /scripts/docker-entrypoint.sh
RUN /scripts/docker-entrypoint.sh
USER xclient
RUN wine wineboot --init
&& /scripts/waitonprocess.sh wineserver
&& rm -rf ~/.wine
&& wine wineboot
&& winetricks --unattended dotnet20
&& /scripts/waitonprocess.sh wineserver
and run command:
docker build --network=x11 --rm -f Dockerfile -t xxxxx
while x11 is my network created.
The text was updated successfully, but these errors were encountered:
@sukeyisme I'm no longer maintaining this package and thus forgot most of the details, sorry.
However, based on the error message and your dockerfile, I assume that wine tries to open a window and this is not allowed/possible during docker build!?! By saying that, have you tried to start and link to an x11-server? Maybe you get some additional information there. I'm really not sure whether it is possible to connect to x11server during docker build.
Another difference between your dockerfile and mine is that you call wine wineboot twice. My original file looks (at that part) like this:
The call to the waitonwineprocess script is required after each call to wine or Winetricks, because those commands might start some work in the background and we need to wait before we can proceed.
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
Note: command 'wine dotnetfx.exe /q /c:install.exe /q' returned status 43. Aborting.
dockerfile :
FROM suchja/wine
ENV WINEDEBUG -all,err+all
USER root
COPY waitonprocess.sh /scripts/
RUN chmod +x /scripts/waitonprocess.sh
COPY docker-entrypoint.sh /scripts/
RUN chmod +x /scripts/docker-entrypoint.sh
RUN /scripts/docker-entrypoint.sh
USER xclient
RUN wine wineboot --init
&& /scripts/waitonprocess.sh wineserver
&& rm -rf ~/.wine
&& wine wineboot
&& winetricks --unattended dotnet20
&& /scripts/waitonprocess.sh wineserver
and run command:
docker build --network=x11 --rm -f Dockerfile -t xxxxx
while x11 is my network created.
The text was updated successfully, but these errors were encountered: