From 3277ec9eea41e9bad3bc50394862cdc01ce037eb Mon Sep 17 00:00:00 2001 From: Kroese Date: Sun, 16 Mar 2025 07:31:41 +0100 Subject: [PATCH] docs: File sharing (#210) --- readme.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/readme.md b/readme.md index 7381961..9a6420b 100644 --- a/readme.md +++ b/readme.md @@ -205,6 +205,23 @@ kubectl apply -f https://raw.githubusercontent.com/dockur/macos/refs/heads/maste - /dev/bus/usb ``` +### How do I share files with the host? + + To share files with the host, add the following volume to your compose file: + + ```yaml + volumes: + - ./example:/shared + ``` + + Then start macOS and execute the following command: + + ```shell + sudo -S mount_9p shared + ``` + + In Finder’s menu bar, click on “Go – Computer” to access this shared folder, it will show the contents of `./example`. + ### How do I verify if my system supports KVM? Only Linux and Windows 11 support KVM virtualization, macOS and Windows 10 do not unfortunately.