macos icon indicating copy to clipboard operation
macos copied to clipboard

System fails to download software

Open stephan1827 opened this issue 5 months ago • 5 comments

Operating system

Synology

Description

I am trying to install this in a Synology but docker fails to start with the following message

❯ ERROR: Failed to download http://oscdn.apple.com/content/downloads/28/14/042-23155/4rscm4lvp3084gutfgpkwj5eex0yyxmzkt/RecoveryImage/BaseSystem.dmg , network failure!

When I paste the URL in my browser I get

`Access Denied You don't have permission to access "http://oscdn.apple.com/content/downloads/28/14/042-23155/4rscm4lvp3084gutfgpkwj5eex0yyxmzkt/RecoveryImage/BaseSystem.dmg" on this server. Reference #18.9ad7dd17.1752432771.302fb213

https://errors.edgesuite.net/18.9ad7dd17.1752432771.302fb213`

I tried VPN but that gives me the same error message.

Docker compose

services:
  macos:
    dns:
      - 8.8.8.8
      - 1.1.1.1
    image: dockurr/macos
    container_name: macos
    environment:
      VERSION: "13"
      RAM_SIZE: "12G"
      CPU_CORES: "4"
    devices:
      - /dev/kvm
      - /dev/net/tun
    cap_add:
      - NET_ADMIN
    ports:
      - 8006:8006
      - 5900:5900/tcp
      - 5900:5900/udp
    volumes:
      - ./macos:/storage
    restart: always
    stop_grace_period: 2m

Docker log

date	stream	content
2025/07/13 20:40:08	stdout	[1;34m❯ [1;36mDownloading macOS 13 recovery image...[0m
2025/07/13 20:40:08	stdout	
2025/07/13 20:40:08	stdout	❯ CPU: Intel Xeon E 2286G | RAM: 26/32 GB | DISK: 7 TB (btrfs) | KERNEL: 5.10.55+...
2025/07/13 20:40:08	stdout	❯ For support visit https://github.com/dockur/macos
2025/07/13 20:40:08	stdout	❯ Starting macOS for Docker v2.14...
2025/07/13 20:40:06	stderr	[1;31m❯ ERROR: Failed to connect to the Apple servers, reason: could not resolve host![0m
2025/07/13 20:39:42	stdout	[1;34m❯ [1;36mDownloading macOS 13 recovery image...[0m
2025/07/13 20:39:42	stdout	
2025/07/13 20:39:42	stdout	❯ CPU: Intel Xeon E 2286G | RAM: 26/32 GB | DISK: 7 TB (btrfs) | KERNEL: 5.10.55+...
2025/07/13 20:39:42	stdout	❯ For support visit https://github.com/dockur/macos
2025/07/13 20:39:42	stdout	❯ Starting macOS for Docker v2.14...
2025/07/13 20:39:40	stderr	[1;31m❯ ERROR: Failed to download http://oscdn.apple.com/content/downloads/28/14/042-23155/4rscm4lvp3084gutfgpkwj5eex0yyxmzkt/RecoveryImage/BaseSystem.dmg , network failure![0m
2025/07/13 20:39:30	stdout	[1;34m❯ [1;36mDownloading macOS 13 recovery image...[0m
2025/07/13 20:39:30	stdout	
2025/07/13 20:39:30	stdout	❯ CPU: Intel Xeon E 2286G | RAM: 26/32 GB | DISK: 7 TB (btrfs) | KERNEL: 5.10.55+...
2025/07/13 20:39:30	stdout	❯ For support visit https://github.com/dockur/macos
2025/07/13 20:39:30	stdout	❯ Starting macOS for Docker v2.14...

Screenshots (optional)

No response

stephan1827 avatar Jul 13 '25 18:07 stephan1827

fwiw, i had to add privileged: true to my compose file to get downloading working. may not be the best solution but worked in my case

deathblade666 avatar Jul 18 '25 13:07 deathblade666

I got the same issue on k0s bare metal. Still trying to get it resolved

Nexxus-LMT avatar Sep 18 '25 11:09 Nexxus-LMT

Seems like Apple is blocking your IP in their firewall. Nothing I can change about that.

kroese avatar Sep 18 '25 16:09 kroese

I realized something strange was happening. I downloaded a MacOS Ventura just the other day tho..

Nexxus-LMT avatar Sep 18 '25 16:09 Nexxus-LMT

Maybe the internet inside the container is not working?

kroese avatar Sep 18 '25 17:09 kroese