Sign inSign up

archang31/windows-command-line

By archang31

Updated almost 6 years ago

A minimal container to support running Windows command line programs via wine

Image
0

435

archang31/windows-command-line repository overview

Reference for getting wine working:

https://medium.com/faun/running-windows-app-headless-in-docker-15ff008f2f16

Install

sudo apt-get remove docker docker-engine docker.io
sudo apt-get install docker.io
sudo systemctl enable docker
sudo systemctl start docker
Build the image:
sudo docker build --tag archang31/windows-command-line:1.0 .
Test the image:
docker run -it archang31/windows-command-line:1.0 /bin/bash

# start xvfb to handle the display
root@be1ee8cd1972:/# Xvfb :0 -screen 0 1024x768x16 &
[1] 10
# run whatever windows command-line program you want
root@be1ee8cd1972:/# wine-stable cmd.exe
Microsoft Windows 6.1.7601 (3.0)

Z:\>dir
Volume in drive Z has no label.
Volume Serial Number is 0000-0000
...
Log into docker hub and push:
sudo docker login
sudo docker push archang31/windows-command-line:1.0

Tag summary

Content type

Image

Digest

Size

315.8 MB

Last updated

almost 6 years ago

docker pull archang31/windows-command-line