wine not installed in docker container

Questions about Wine on Linux
Post Reply
mnicolaides
Newbie
Newbie
Posts: 1
Joined: Wed May 13, 2020 12:59 pm

wine not installed in docker container

Post by mnicolaides » Wed May 13, 2020 1:08 pm

I've been trying to install wine in a docker container to run a windows application. I've tried this on Ubuntu 18.40 and 19.10.

I do get some errors regarding the missing UI such as: (0014:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131–0000–0000-c000–000000000046}).

When I look in the running container wine is not installed (/usr/bin). 'whereis' and 'which' can't find wine.

Any ideas why wine is missing in the container?

Here is my wine install section of the Dockerfile:

Code: Select all

FROM ubuntu:19.10

RUN apt-get update
RUN apt-get install -y wget

RUN dpkg --add-architecture i386
RUN apt-get update

RUN apt-get install -y software-properties-common gnupg2
RUN wget -nc https://dl.winehq.org/wine-builds/winehq.key
RUN apt-key add winehq.key
RUN apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
RUN add-apt-repository ppa:cybermax-dexter/sdl2-backport
RUN apt update && apt install -y --install-recommends winehq-stable

Gcenx
Level 5
Level 5
Posts: 434
Joined: Mon Dec 25, 2017 12:11 pm

Re: wine not installed in docker container

Post by Gcenx » Wed May 13, 2020 5:01 pm

The Ubuntu section explains this, the packages get installed instead go /opt/

Code: Select all

 Files are installed to /opt/wine-devel, opt/wine-stable, or /opt/wine-staging (depending on which version you installed).

Post Reply