Using the docker image to run windows applications with Chinese support like "Smartget" on my Synology Nas(DS 916+)
docker pull sykuang/wine-x11-novnc
- Run
docker run -p 8080:8080 -p 8081:22 sykuang/wine-x11-novnc
- Run with Traditional Chinese Support
docker run -p 8080:8080 -p 8081:22 -e LANG=zh_TW.UTF-8 -e LC_ALL=zh_TW.UTF-8 sykuang/wine-x11-novnc
- Advance Run
docker run \ -v $HOME/Downloads:/home/docker/.wine/drive_c/Downloads \ -v $HOME/WinApp:/home/docker/.wine/drive_c/WinApp \ -p 8080:8080 \ -p 8081:22 \ sykuang/wine
- Advance Run with VNC password
docker run \ -v $HOME/Downloads:/home/docker/.wine/drive_c/Downloads \ -v $HOME/WinApp:/home/docker/.wine/drive_c/WinApp \ -e VNC_PASSWORD=password \ -p 8080:8080 \ -p 8081:22 \ sykuang/wine
This follows these docker conventions:
-v $HOME/WinApp:/home/docker/.wine/drive_c/WinAp
shared volume (folder) for your Window's programs data.-v $HOME/Downloads:/home/docker/.wine/drive_c/Downloads
shared volume (folder) for your Window's Download Folder.-p 8080:8080
port that you will be connecting to. (8080 has been hard code in the Dockerfile, You can use port forwarding to other port like)-p 8083:8080
-p 8081:22
SSH
Name | explanations |
---|---|
VNC_PASSWORD | The password for login VNC website; Default will empty(No password) |
USER_PASSWORD | The password of user; this is for ssh usage |
PUID | Set the UID of the user |
PGID | Set the GID of the user |
- Using SSH
Default password is 1234
ssh -x docker@hostname -p 8081
- Using noVNC
or just visit
firefox http://hostname:8080
http://hostname:8080
by the browse you like