mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2026-04-27 08:35:48 +03:00
[GH-ISSUE #493] how can i attach physical disk ? #359
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#359
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 @bluesiboy on GitHub (May 7, 2022).
Original GitHub issue: https://github.com/sickcodes/Docker-OSX/issues/493
`
OSX_IMAGE="${PWD}/mac_hdd_ng_xcode_bigsur.img"
DISK_TWO="${PWD}/mount_me.img"
docker run -it
--device /dev/kvm
-e "DISPLAY=${DISPLAY:-:0.0}"
-v /tmp/.X11-unix:/tmp/.X11-unix
-e MASTER_PLIST_URL='https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist'
-v "${OSX_IMAGE}":/image
-v "${DISK_TWO}":/disktwo
-e EXTRA='-device ide-hd,bus=sata.5,drive=DISK-TWO -drive id=DISK-TWO,if=none,file=/disktwo,format=qcow2'
sickcodes/docker-osx:naked
`
what is the mount_me.img?
how can i create the file, can i attach /dev/sdb1 to macos ?
i understand "EXTRA='do something ...'",
can you give me something documents on internet???
@sickcodes commented on GitHub (May 14, 2022):
Also try
sata.4
sata.5
Depending if you have other disks
Any existing EXTRA stuff, just keep adding
@rutikthakre commented on GitHub (Nov 27, 2024):
@sickcodes I am trying to open my project in mac os using dev container. But unfortunately I am able to access current project in the arch. Not in VM mac os.
@gusbemacbe commented on GitHub (Nov 17, 2025):
Good afternoon, @sickcodes!
Please peruse if this YAML code is correct or wrong. I am trying to attach a BaseImage.img (
tahoe.img) and an HDD disk file (tahoe.qcow2). Here is: