Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I run a macOS GUI application inside osx-vm? #1

Closed
eric-gitta-moore opened this issue Mar 7, 2025 · 1 comment
Closed

Can I run a macOS GUI application inside osx-vm? #1

eric-gitta-moore opened this issue Mar 7, 2025 · 1 comment

Comments

@eric-gitta-moore
Copy link

Can I run a macOS GUI application inside osx-vm?

And I want to isolate the container from the host (including file system isolation and memory isolation) to prevent memory scanning and file scanning.

@Okerew
Copy link
Owner

Okerew commented Mar 23, 2025

Hey, sorry for not responding sooner — I was quite busy. I think you should be able to run a GUI application generally using gexec. Memory scanning, however, is a bit more tricky due to how macOS works. Namespaces aren't really implementable. A root user on macOS could likely access the memory of a sandboxed process, as macOS sandboxing primarily controls resource access (like file, network, etc.) and not memory isolation. However, scanning the memory of an osxiec container would definitely be more difficult. A normal user can't scan the memory of an osxiec container, and the new user inside the container can't access your system. File system isolation is similar to normal container practices: the files are isolated, but a root user on the host could still access them. Let me know if you meant something else.

Repository owner locked as resolved and limited conversation to collaborators Mar 23, 2025
@Okerew Okerew closed this as completed Mar 23, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants