mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2026-04-27 08:35:48 +03:00
[GH-ISSUE #597] Device_Model in docker-compose file #447
Labels
No labels
bug
documentation
enhancement
following upstream developments
good first issue
help wanted
invalid
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Docker-OSX#447
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ugurkocde on GitHub (Dec 16, 2022).
Original GitHub issue: https://github.com/sickcodes/Docker-OSX/issues/597
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?
@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:
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?