mirror of
https://github.com/dockur/macos.git
synced 2026-03-11 08:34:24 +00:00
docs: File sharing (#210)
This commit is contained in:
parent
2f0ee294e0
commit
3277ec9eea
1 changed files with 17 additions and 0 deletions
17
readme.md
17
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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue