Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ services:
- 5900:5900/tcp
- 5900:5900/udp
volumes:
- ./macos:/storage
- ./macos:/storage:rw
restart: always
stop_grace_period: 2m
8 changes: 4 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ services:
- 5900:5900/tcp
- 5900:5900/udp
volumes:
- ./macos:/storage
- ./macos:/storage:rw
restart: always
stop_grace_period: 2m
```

##### Via Docker CLI:

```bash
docker run -it --rm --name macos -p 8006:8006 --device=/dev/kvm --device=/dev/net/tun --cap-add NET_ADMIN -v "${PWD:-.}/macos:/storage" --stop-timeout 120 dockurr/macos
docker run -it --rm --name macos -p 8006:8006 --device=/dev/kvm --device=/dev/net/tun --cap-add NET_ADMIN -v "${PWD:-.}/macos:/storage:rw" --stop-timeout 120 dockurr/macos
```

##### Via Kubernetes:
Expand Down Expand Up @@ -110,7 +110,7 @@ kubectl apply -f https://raw.githubusercontent.com/dockur/macos/refs/heads/maste

```yaml
volumes:
- ./macos:/storage
- ./macos:/storage:rw
```

Replace the example path `./macos` with the desired storage folder or named volume.
Expand Down Expand Up @@ -220,7 +220,7 @@ kubectl apply -f https://raw.githubusercontent.com/dockur/macos/refs/heads/maste

```yaml
volumes:
- ./example:/shared
- ./example:/shared:rw
```

Then start macOS and execute the following command:
Expand Down