mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2026-01-11 21:10:25 +01:00
Light image ? #87
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 @rockandska on GitHub (Nov 6, 2020).
Hi,
Do you have plans to provide the ability to have a lightweight image containing only the terminal without X layer?
I'm looking for a way to test shell scripts on a native macos installation through docker but never found a project who provide this possibility.
Best regards,
@sickcodes commented on GitHub (Nov 7, 2020):
The recovery shell has a terminal with limited capabilities, have you tested the shell in the installation disc?
@sickcodes commented on GitHub (Nov 7, 2020):
If so, and you think it's a good idea, i can create another image
@L-U-C-K-Y commented on GitHub (Nov 8, 2020):
Just found this project, looks really interesting!
I would also be interested in a “light image” that I could use as a CI/CD machine to build apps.
Many thanks for your work and the great idea.
Edit: Saw a similar use-case is being tracked here: https://github.com/sickcodes/Docker-OSX/issues/83
@sickcodes commented on GitHub (Nov 9, 2020):
Unfortunately to run the OS you must accept the EULA.
After the EULA you can run docker commit and duplicate your custom image as many times as you like.
Then you can use that image as your CI/CD tool :)
@rockandska commented on GitHub (Nov 18, 2020):
Did not try it yet.
When you say
with limited capabilities, what are they ?Long time ago I tried to build a minimal shell with tools from https://opensource.apple.com/ but I abandoned it and is the reason why I'm still looking for a way to test shell under macos in a convenient way.
@sickcodes commented on GitHub (Dec 4, 2020):
@rockandska Interesting, you can test the limited bash 3.0 shell inside the OSX recovery image in this project which might be able to do adapted to run a minimal environment.
@sickcodes commented on GitHub (Mar 13, 2021):
Working on this. Dropbear or something inside the recovery disk would be nice
@sickcodes commented on GitHub (Mar 18, 2021):
Working on slimming all images down currently.
Most importantly is an SSHable recovery image which is sub 1GB!
@sickcodes commented on GitHub (Mar 18, 2021):
Having MAJOR issues slimming APFS however on Big Sur.
@rockandska commented on GitHub (Mar 18, 2021):
Thanks for the follow-up
@weskerfoot commented on GitHub (Mar 19, 2021):
Is the issue that it doesn't properly support TRIM on VMs?
You can apparently run into a bug that causes it to boot really slowly https://forums.macrumors.com/threads/new-ssd-formatted-as-apfs-trim-always-slow-boot-and-performance.2237883/
@sickcodes commented on GitHub (Mar 19, 2021):
Not worried about speed, worried about cutting image size. The Big Sur is 40GB, were you able to cut it down?
@weskerfoot commented on GitHub (Mar 19, 2021):
I haven't updated to big sur yet, will see if I have time to try it out next week
@sickcodes commented on GitHub (Mar 19, 2021):
It's insane, APFS only and can't seem to shrink it. Might have to use non-qcow instead actually
@sickcodes commented on GitHub (Mar 19, 2021):
Lol
@weskerfoot commented on GitHub (Mar 20, 2021):
Wow, quality software Apple :(
On Fri., Mar. 19, 2021, 5:54 p.m. sickcodes, @.***>
wrote:
@sickcodes commented on GitHub (Mar 21, 2021):
All good fixed it after installation in https://github.com/sickcodes/Docker-OSX/issues/210
@sickcodes commented on GitHub (Jul 8, 2021):
Some optimizations can be performed here to make your image smaller https://github.com/sickcodes/osx-optimizer
@biemster commented on GitHub (Jun 7, 2022):
Do you have an update on the latter @sickcodes ? Would be extremely useful if it has AOSKit and can login to iCloud to research anisette data!
@rockandska commented on GitHub (Sep 16, 2025):
Hi @sickcodes
Any news about a shell only container to be able to run test on a linux laptop please ?
I'm pretty sure there's some interest in it.
Thanks,