Unverified Commit de76cca8 authored by Kroese's avatar Kroese Committed by GitHub
Browse files

docs: Port number (#215)

parent 69fb95c9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -45,7 +45,7 @@ ADD --chmod=644 \
ADD $REPO_KVM_OPENCORE/releases/download/$VERSION_KVM_OPENCORE/OpenCore-$VERSION_KVM_OPENCORE.iso.gz /opencore.iso.gz

VOLUME /storage
EXPOSE 80 5900
EXPOSE 5900 8006

ENV VERSION="13"
ENV RAM_SIZE="4G"
+1 −1
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@ services:
    cap_add:
      - NET_ADMIN
    ports:
      - 8006:80
      - 8006:8006
      - 5900:5900/tcp
      - 5900:5900/udp
    volumes:
+1 −1
Original line number Diff line number Diff line
@@ -76,7 +76,7 @@ spec:
    - name: http
      port: 8006
      protocol: TCP
      targetPort: 80
      targetPort: 8006
    - name: vnc
      port: 5900
      protocol: TCP
+2 −2
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@ services:
    cap_add:
      - NET_ADMIN
    ports:
      - 8006:80
      - 8006:8006
      - 5900:5900/tcp
      - 5900:5900/udp
    volumes:
@@ -49,7 +49,7 @@ services:
Via Docker CLI:

```bash
docker run -it --rm --name macos -p 8006:80 --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 --stop-timeout 120 dockurr/macos
```

Via Kubernetes: