aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsickcodes <[email protected]>2022-05-14 16:07:27 +0000
committerGitHub <[email protected]>2022-05-14 16:07:27 +0000
commit41b07267b249b966a24c04a1c9cef9382a9513e0 (patch)
tree75594df7f01729ea3d2c3b09a1f06822e47b889b
parentFixes #495 (diff)
downloaddocker-osx-41b07267b249b966a24c04a1c9cef9382a9513e0.tar.xz
docker-osx-41b07267b249b966a24c04a1c9cef9382a9513e0.zip
Share files, shared folder, mount folder
# Share directories, sharing files, shared folder, mount folder The easiest and most secure way is `sshfs` ```bash # on Linux/Windows mkdir ~/mnt/osx sshfs user@localhost:/ -p 50922 ~/mnt/osx # wait a few seconds, and ~/mnt/osx will have full rootfs mounted over ssh, and in userspace # automated: sshpass -p <password> sshfs user@localhost:/ -p 50922 ~/mnt/osx ```
-rw-r--r--README.md18
1 files changed, 16 insertions, 2 deletions
diff --git a/README.md b/README.md
index 87cea6d..8c97531 100644
--- a/README.md
+++ b/README.md
@@ -178,12 +178,15 @@ Enable SSH in network sharing inside the guest first. Change `-e "USERNAME=user"
Since you can't see the screen, use the PLIST with nopicker, for example:
```bash
-wget https://images2.sick.codes/mac_hdd_ng_auto.img
+# Catalina
+# wget https://images2.sick.codes/mac_hdd_ng_auto.img
+# Monterey
+wget https://images.sick.codes/mac_hdd_ng_auto_monterey.img
docker run -it \
--device /dev/kvm \
-p 50922:10022 \
- -v "${PWD}/mac_hdd_ng_auto.img:/image" \
+ -v "${PWD}/mac_hdd_ng_auto_monterey:/image" \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-e "DISPLAY=${DISPLAY:-:0.0}" \
-e "USERNAME=user" \
@@ -193,6 +196,17 @@ docker run -it \
sickcodes/docker-osx:naked-auto
```
+# Share directories, sharing files, shared folder, mount folder
+The easiest and most secure way is `sshfs`
+```bash
+# on Linux/Windows
+mkdir ~/mnt/osx
+sshfs user@localhost:/ -p 50922 ~/mnt/osx
+# wait a few seconds, and ~/mnt/osx will have full rootfs mounted over ssh, and in userspace
+# automated: sshpass -p <password> sshfs user@localhost:/ -p 50922 ~/mnt/osx
+```
+
+
# (VFIO) iPhone USB passthrough (VFIO)
If you have a laptop see the next usbfluxd section.