Skip to content

Commit 45b9667

Browse files
authored
feat: Set default to Sonoma (#321)
1 parent 1f31b50 commit 45b9667

5 files changed

Lines changed: 11 additions & 9 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ ADD $REPO_KVM_OPENCORE/releases/download/$VERSION_KVM_OPENCORE/OpenCore-$VERSION
4747
VOLUME /storage
4848
EXPOSE 5900 8006
4949

50-
ENV VERSION="13"
50+
ENV VERSION="14"
5151
ENV RAM_SIZE="4G"
5252
ENV CPU_CORES="2"
5353
ENV DISK_SIZE="64G"

compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ services:
33
image: dockurr/macos
44
container_name: macos
55
environment:
6-
VERSION: "13"
6+
VERSION: "14"
77
devices:
88
- /dev/kvm
99
- /dev/net/tun

kubernetes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ spec:
3131
image: dockurr/macos
3232
env:
3333
- name: VERSION
34-
value: "13"
34+
value: "14"
3535
- name: DISK_SIZE
3636
value: "64G"
3737
ports:

readme.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ services:
3030
image: dockurr/macos
3131
container_name: macos
3232
environment:
33-
VERSION: "13"
33+
VERSION: "14"
3434
devices:
3535
- /dev/kvm
3636
- /dev/net/tun
@@ -49,7 +49,7 @@ services:
4949
##### Via Docker CLI:
5050
5151
```bash
52-
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
52+
docker run -it --rm --name macos -e "VERSION=14" -p 8006:8006 --device=/dev/kvm --device=/dev/net/tun --cap-add NET_ADMIN -v "${PWD:-.}/macos:/storage" --stop-timeout 120 dockurr/macos
5353
```
5454

5555
##### Via Kubernetes:
@@ -84,11 +84,11 @@ kubectl apply -f https://raw.githubusercontent.com/dockur/macos/refs/heads/maste
8484

8585
### How do I select the version of macOS?
8686

87-
By default, macOS 13 (Ventura) will be installed, but you can add the `VERSION` environment variable in order to specify an alternative:
87+
By default, macOS 14 (Sonoma) will be installed, but you can add the `VERSION` environment variable in order to specify an alternative:
8888

8989
```yaml
9090
environment:
91-
VERSION: "13"
91+
VERSION: "14"
9292
```
9393
9494
Select from the values below:

src/install.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,10 @@ install() {
133133
local board
134134
local version="$1"
135135
local dest="$2"
136-
136+
137137
case "${version,,}" in
138+
"tahoe" | "16"* )
139+
board="Mac-CFF7D910A743CAAF" ;;
138140
"sequoia" | "15"* )
139141
board="Mac-937A206F2EE63C01" ;;
140142
"sonoma" | "14"* )
@@ -248,7 +250,7 @@ VERSION=$(expr "$VERSION" : "^\ *\(.*[^ ]\)\ *$")
248250

249251
if [ -z "$VERSION" ]; then
250252

251-
VERSION="13"
253+
VERSION="14"
252254
warn "no value specified for the VERSION variable, defaulting to \"${VERSION}\"."
253255

254256
fi

0 commit comments

Comments
 (0)