anton-pavlov / homm3_docker

A way to run heroes of might and magic 3 on MacOS Catalina
32 stars 4 forks source link

Have issues with enabling docker #6

Open vplatonov289 opened 3 years ago

vplatonov289 commented 3 years ago

First, when I run

sed -i -- '/#load-module\ module-native-protocol-tcp/s/^#//g /usr/local/opt/pulseaudio/etc/pulse/default.pa

I get the sed: /usr/local/opt/pulseaudio/etc/pulse/default.pa: No such file or directory. The opt folder does not exist in my directory, so does pulseaudio.

Next,

docker build -t wine .

fails on 5th step with:

`[+] Building 2.9s (8/9)
=> [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 37B 0.0s => [internal] load .dockerignore 0.0s => => transferring context: 34B 0.0s => [internal] load metadata for docker.io/library/ubuntu:18.04 0.5s => [1/6] FROM docker.io/library/ubuntu:18.04@sha256:3b8692dc4474d4f6043f 0.0s => CACHED [2/6] RUN apt update && apt install -y wget gnupg software-pro 0.0s => CACHED [3/6] RUN dpkg --add-architecture i386 0.0s => CACHED [4/6] RUN wget -nc https://dl.winehq.org/wine-builds/winehq.ke 0.0s => ERROR [5/6] RUN add-apt-repository 'deb https://dl.winehq.org/wine-bu 2.3s


[5/6] RUN add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main' && apt-add-repository "deb http://us.archive.ubuntu.com/ubuntu/ xenial main universe":

8 0.669 Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease

8 0.718 Get:2 https://dl.winehq.org/wine-builds/ubuntu xenial InRelease [6259 B]

8 0.757 Hit:3 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease

8 0.825 Get:4 https://dl.winehq.org/wine-builds/ubuntu xenial/main i386 Packages [1188 kB]

8 0.865 Hit:5 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease

8 0.995 Hit:6 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease

8 1.155 Ign:7 http://ports.ubuntu.com/ubuntu-ports bionic/main i386 Packages

8 1.155 Ign:8 http://ports.ubuntu.com/ubuntu-ports bionic/multiverse i386 Packages

8 1.155 Ign:9 http://ports.ubuntu.com/ubuntu-ports bionic/universe i386 Packages

8 1.157 Ign:10 http://ports.ubuntu.com/ubuntu-ports bionic/restricted i386 Packages

8 1.157 Ign:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/restricted i386 Packages

8 1.158 Ign:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse i386 Packages

8 1.158 Ign:13 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe i386 Packages

8 1.158 Ign:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main i386 Packages

8 1.158 Ign:15 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe i386 Packages

8 1.158 Ign:16 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main i386 Packages

8 1.284 Ign:17 http://ports.ubuntu.com/ubuntu-ports bionic-security/multiverse i386 Packages

8 1.284 Ign:18 http://ports.ubuntu.com/ubuntu-ports bionic-security/restricted i386 Packages

8 1.284 Ign:19 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe i386 Packages

8 1.316 Ign:20 http://ports.ubuntu.com/ubuntu-ports bionic-security/main i386 Packages

8 1.316 Ign:7 http://ports.ubuntu.com/ubuntu-ports bionic/main i386 Packages

8 1.317 Ign:8 http://ports.ubuntu.com/ubuntu-ports bionic/multiverse i386 Packages

8 1.317 Ign:9 http://ports.ubuntu.com/ubuntu-ports bionic/universe i386 Packages

8 1.318 Ign:10 http://ports.ubuntu.com/ubuntu-ports bionic/restricted i386 Packages

8 1.318 Ign:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/restricted i386 Packages

8 1.318 Ign:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse i386 Packages

8 1.391 Ign:13 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe i386 Packages

8 1.391 Ign:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main i386 Packages

8 1.391 Ign:15 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe i386 Packages

8 1.432 Ign:16 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main i386 Packages

8 1.432 Ign:17 http://ports.ubuntu.com/ubuntu-ports bionic-security/multiverse i386 Packages

8 1.432 Ign:18 http://ports.ubuntu.com/ubuntu-ports bionic-security/restricted i386 Packages

8 1.432 Ign:19 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe i386 Packages

8 1.432 Ign:20 http://ports.ubuntu.com/ubuntu-ports bionic-security/main i386 Packages

8 1.432 Ign:7 http://ports.ubuntu.com/ubuntu-ports bionic/main i386 Packages

8 1.433 Ign:8 http://ports.ubuntu.com/ubuntu-ports bionic/multiverse i386 Packages

8 1.498 Ign:9 http://ports.ubuntu.com/ubuntu-ports bionic/universe i386 Packages

8 1.498 Ign:10 http://ports.ubuntu.com/ubuntu-ports bionic/restricted i386 Packages

8 1.498 Ign:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/restricted i386 Packages

8 1.545 Ign:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse i386 Packages

8 1.545 Ign:13 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe i386 Packages

8 1.545 Ign:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main i386 Packages

8 1.546 Ign:15 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe i386 Packages

8 1.546 Ign:16 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main i386 Packages

8 1.546 Ign:17 http://ports.ubuntu.com/ubuntu-ports bionic-security/multiverse i386 Packages

8 1.546 Ign:18 http://ports.ubuntu.com/ubuntu-ports bionic-security/restricted i386 Packages

8 1.606 Ign:19 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe i386 Packages

8 1.606 Ign:20 http://ports.ubuntu.com/ubuntu-ports bionic-security/main i386 Packages

8 1.607 Err:7 http://ports.ubuntu.com/ubuntu-ports bionic/main i386 Packages

8 1.607 404 Not Found [IP: 91.189.91.39 80]

8 1.652 Ign:8 http://ports.ubuntu.com/ubuntu-ports bionic/multiverse i386 Packages

8 1.652 Ign:9 http://ports.ubuntu.com/ubuntu-ports bionic/universe i386 Packages

8 1.652 Ign:10 http://ports.ubuntu.com/ubuntu-ports bionic/restricted i386 Packages

8 1.661 Err:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/restricted i386 Packages

8 1.661 404 Not Found [IP: 91.189.91.39 80]

8 1.661 Ign:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse i386 Packages

8 1.661 Ign:13 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe i386 Packages

8 1.661 Ign:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main i386 Packages

8 1.714 Err:15 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe i386 Packages

8 1.714 404 Not Found [IP: 91.189.91.39 80]

8 1.714 Ign:16 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main i386 Packages

8 1.714 Err:17 http://ports.ubuntu.com/ubuntu-ports bionic-security/multiverse i386 Packages

8 1.714 404 Not Found [IP: 91.189.91.39 80]

8 1.761 Ign:18 http://ports.ubuntu.com/ubuntu-ports bionic-security/restricted i386 Packages

8 1.761 Ign:19 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe i386 Packages

8 1.761 Ign:20 http://ports.ubuntu.com/ubuntu-ports bionic-security/main i386 Packages

8 1.775 Fetched 1194 kB in 1s (884 kB/s)

8 1.775 Reading package lists...

8 2.270 E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/bionic/main/binary-i386/Packages 404 Not Found [IP: 91.189.91.39 80]

8 2.270 E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/bionic-updates/restricted/binary-i386/Packages 404 Not Found [IP: 91.189.91.39 80]

8 2.270 E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/bionic-backports/universe/binary-i386/Packages 404 Not Found [IP: 91.189.91.39 80]

8 2.270 E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/bionic-security/multiverse/binary-i386/Packages 404 Not Found [IP: 91.189.91.39 80]

8 2.270 E: Some index files failed to download. They have been ignored, or old ones used instead.


executor failed running [/bin/sh -c add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main' && apt-add-repository "deb http://us.archive.ubuntu.com/ubuntu/ xenial main universe"]: exit code: 100

Sounds like it is trying to call some internal ubuntu processes, but I am running on Mac OS Big Sur.

Cheers in advance!