sickcodes / Docker-OSX

Run macOS VM in a Docker! Run near native OSX-KVM in Docker! X11 Forwarding! CI/CD for OS X Security Research! Docker mac Containers.
https://hub.docker.com/r/sickcodes/docker-osx
GNU General Public License v3.0
36.2k stars 1.79k forks source link

Where is OpenCore-Boot.sh? #38

Closed reticivis-net closed 4 years ago

reticivis-net commented 4 years ago

This comment says it's in /home/user/OSX-KVM/OpenCore-Boot.sh but there isn't even a OSX-KVM directory in my home dir. I'm trying to edit it to add a usb device.

sickcodes commented 4 years ago

It’s inside the docker container.

You can physically edit that file by running the container with /bin/bash and then editing it manually.

I should add vim and nano in the next version but you can install once you’re inside using

sudo pacman -syu vim nano

sickcodes commented 4 years ago

You can also find it in /var/lib/docker.... if you want to edit it outside of the machine.

Make sure the container is off when you edit that file in var lib, it bugs out otherwise.

You can edit it the normal way popping a shell in the container and editing the file.