monokrome / docker-wine

Provides wine for Docker containers.
90 stars 27 forks source link

Kickstart wanted #5

Closed brablc closed 9 years ago

brablc commented 9 years ago

Hello, I'm very new to docker, so chances are that my question is rather general. Sorry for opening an issue I do not know where to ask and I have tried searching hard.

I have tried this but it disconnects my server and I have to reboot:

docker run --rm -it ubuntu_wine xvfb-run --help
Usage: xvfb-run [OPTION ...] COMMAND
Run COMMAND (usually an X client) in a virtual X server environment.
Options:
-a        --auto-servernum          try to get a free server number, starting at
                                    --server-num
-e FILE   --error-file=FILE         file used to store xauth errors and Xvfb
                                    output (default: /dev/null)
-f FILE   --auth-file=FILE          file used to store auth cookie
                                    (default: ./.Xauthority)
-h        --help                    display this usage message and exit
-n NUM    --server-num=NUM          server number to use (default: 99)
-l        --listen-tcp              enable TCP port listening in the X server
-p PROTO  --xauth-protocol=PROTO    X authority protocol name to use
                                    (default: xauth command's default)
-s ARGS   --server-args=ARGS        arguments (other than server number and
                                    "-nolisten tcp") to pass to the Xvfb server
                                    (default: "-screen 0 640x480x8")
brablc commented 9 years ago

I have found project more suitable for newbies.

monokrome commented 9 years ago

@brablc xvfb-run creates an in-memory framebuffer interface so that Linux-based GUI apps can run. Otherwise there's nowhere for wine to draw it's UI. So, you would want to run wine yourself in this one. xvfb-run wine yourwindowsprogram.exe.

What is the project that you found?

brablc commented 9 years ago

Even other solution crashed my Centos 6.7, I guess docker is unsupported on this version. Thanks for answer anyway.

brablc commented 9 years ago

I have found https://hub.docker.com/r/suchja/wine/ .