Device_Model in docker-compose file #445

Open
opened 2025-12-29 01:19:10 +01:00 by adam · 1 comment
Owner

Originally created by @ugurkocde on GitHub (Dec 16, 2022).

I have the following docker-compose.yml:

services:
container1:
container_name: MacBook_Pro_M2
image: sickcodes/docker-osx:ventura
devices:
- /dev/kvm
environment:
- RAM=8
- CORES=4
- DISPLAY=${DISPLAY:-:0.0}
- GENERATE_UNIQUE="true"
- DEVICE_MODEL="Mac14,7"
- MASTER_PLIST_URL=https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist
ports:
- 50922:10022
volumes:
- /mnt/wslg/.X11-unix:/tmp/.X11-unix

My problem is that the Device_Model is always overwritten and does not take the Mac14,7 which is defined in the yml.

It seems like that iMacPro1,1 is always the default.

Can someone help?

Originally created by @ugurkocde on GitHub (Dec 16, 2022). I have the following docker-compose.yml: services: container1: container_name: MacBook_Pro_M2 image: sickcodes/docker-osx:ventura devices: - /dev/kvm environment: - RAM=8 - CORES=4 - DISPLAY=${DISPLAY:-:0.0} - GENERATE_UNIQUE="true" - DEVICE_MODEL="Mac14,7" - MASTER_PLIST_URL=https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist ports: - 50922:10022 volumes: - /mnt/wslg/.X11-unix:/tmp/.X11-unix My problem is that the Device_Model is always overwritten and does not take the Mac14,7 which is defined in the yml. It seems like that iMacPro1,1 is always the default. Can someone help?
Author
Owner

@ugurkocde commented on GitHub (Dec 16, 2022):

The Serial Number always ends with HX87 which points to the iMacPro1,1.

I found out that doing the following, gives me the correct HW Model:

  - GENERATE_UNIQUE=true
  - DEVICE_MODEL="Mac14,7"
  - MASTER_PLIST_URL=https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist

BUT, the serialnumer is just Model.

It looks to me like that the serial generator does not have the correct output.

Anybody have any idea how I could fix this?

@ugurkocde commented on GitHub (Dec 16, 2022): The Serial Number always ends with HX87 which points to the iMacPro1,1. I found out that doing the following, gives me the correct HW Model: - GENERATE_UNIQUE=true - DEVICE_MODEL="Mac14,7" - MASTER_PLIST_URL=https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist BUT, the serialnumer is just Model. It looks to me like that the serial generator does not have the correct output. Anybody have any idea how I could fix this?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Docker-OSX#445