mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2026-01-13 22:03:28 +01:00
[WIP] Pre-installed Docker image with ready to go disk #99
Reference in New Issue
Block a user
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 @sickcodes on GitHub (Dec 30, 2020).
For security research purposes, I will consider adding a ready-to-go disk later this week.
This is so that users can do security research on a virtualized instance.
For example, running their OSX applications inside containers, headlessly.
https://www.washingtonpost.com/technology/2020/12/29/apple-corellium-lawsuit/
You'll be able to use Docker-OSX to look for bugs in OSX, the iPhone emulator inside Xcode, your apps, etc.
Ideas:
Feel free to let me know ideas below!
@coppercash commented on GitHub (Dec 30, 2020):
Xcode has its own CI service called Xcode Bots.
Though it is not as popular as fastlane (and its document seems outdated), I see developers use it.
Perhaps it is also something should be in sight.
Here are some pages could be helpful:
@sickcodes commented on GitHub (Dec 30, 2020):
Thanks @coppercash I'll check those links out when I'm making the images :)
@sickcodes commented on GitHub (Jan 5, 2021):
Issues so far with automated installation (thoughts wanted!)
Option 1: git push a compressed ready made disk to this repository.
JHFS+ can be fixed using hfsprogs. See for example: https://github.com/sickcodes/Docker-eyeOS#dockerhub
Option 2: Automated disk wipe & partitioning through Termninal.
And then apparently you can execute one of the installation files. Most likely in
/System/Installer/. I am yet to find it.Ideally, it would be best to SSH into the Utilities instance from the Arch container which would allow fully automated installation from the Arch container over SSH.
I have tried reverse SSH into the recovery utility shell, I can beging the SSH tunnel :
...however, there is no passwd set for the guest terminal. An SSH public key for the arch container could be wget'ed inside OSX to /tmp, and then run the
/usr/sbin/sshdbin setting a custom sshd_config with -f.FYI:
/tmpis writable in the Utility DiskNotable: the recovery disk already has one port already open 10011?
Also tried:
Option 3: Automated disk wipe & partitioning through Terminal.
Possible solution, autoclick through the setup:
Startx inside the container:
Run xdotool. These commands below are just the coordinates, but you can play with it using
xdotool-gui.Possible solution prepare the jhfsplus disk outside the OSX guest. Seems futile without growing the p to 200G. If anyone has any suggestions, feel free to include!
Problem with the above mkfs is that it loses qcow2 format status... because it's not qcow anymore lol.
@sickcodes commented on GitHub (Jan 5, 2021):
The Dockerfile for hfsprogs:
@sickcodes commented on GitHub (Jan 24, 2021):
Competed!