huan / docker-windows Goto Github PK
View Code? Open in Web Editor NEWRun Windows GUI Applications in a Linux Docker Container
Home Page: https://hub.docker.com/r/zixia/windows
Run Windows GUI Applications in a Linux Docker Container
Home Page: https://hub.docker.com/r/zixia/windows
Docker starts, spits out the error message "s6-mkdir: warning: unable to mkdir /var/run/s6: Permission denied" and dies
Hi, I'm trying to modify this docker image to run with wine 6.19, but all GUI applications fail to start. So I think start it locally and run notepad may help with the debugging process.
However run this directly with docker run will get
Error: No such container: 93c6d1724c06649e3170294b132d0c9c5ec83083a1a350c876195ca8438715ff
Run it with ./scripts/run.sh might work, but I cannot visit VNC even if port 5900 was mapped.
So what setup is required to run this locally?
Hola
I was trying to make some changes to this repo to upgrade wine to 6.18. I found that when building docker image, it throws 'cannot find tar' error. It also happens when I tried to build original dockerfile.
I noticed that you move /bin folder to /bin.bak. This may cause commands after /bin moved not being able to find the file.
I understand you were trying to make sure /bin won't be overwritten when extracting s6 files.
So far I use the following approach and it seems to be working
# S6 Overlay
RUN curl -J -L -o /tmp/s6-overlay-amd64.tar.gz "https://github.com/just-containers/s6-overlay/releases/download/v$S6_OVERLAY_VERSION/s6-overlay-amd64.tar.gz" \
&& echo -n "Checking md5sum... " \
&& echo "$S6_OVERLAY_MD5HASH /tmp/s6-overlay-amd64.tar.gz" | md5sum -c - \
&& mkdir /tmp/s6 \
&& tar xzf /tmp/s6-overlay-amd64.tar.gz -C /tmp/s6 \
&& mv /bin "$BIN_BAK" \
&& $BIN_BAK/mv /tmp/s6/bin /bin \
&& $BIN_BAK/mv /bin/* "$BIN_BAK" \
&& $BIN_BAK/rmdir /bin \
&& $BIN_BAK/mv "$BIN_BAK" /bin \
&& rm /tmp/s6-overlay-amd64.tar.gz \
&& rm -rf /tmp/S6
From Ubuntu 19.10: /bin
is a symbol link to /usr/bin
# ls -ld /bin
lrwxrwxrwx 1 root root 7 2ๆ 7 21:45 /bin -> usr/bin
We must use tar --dereference
to preserve Symbolic links with tar command in Unix/Linux
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.