You've already forked Docker-OSX
mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2025-07-03 03:03:31 -05:00
Compare commits
9 Commits
runtime-do
...
e962dce97f
Author | SHA1 | Date | |
---|---|---|---|
e962dce97f | |||
2d4cc60572 | |||
730d6f294a | |||
93c2119ebc | |||
fb8aa4b248 | |||
b5a70782cc | |||
61b21421f6 | |||
342c09eb2a | |||
2dc1d615b1 |
52
.github/workflows/docker-build.yml
vendored
Normal file
52
.github/workflows/docker-build.yml
vendored
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
name: Push Docker Image to Docker Hub
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
push_to_docker_hub:
|
||||||
|
name: Push Docker Image to Docker Hub
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
id: checkout_code
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Login to Docker Hub
|
||||||
|
id: login_docker_hub
|
||||||
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
username: ${{ secrets.DOCKER_HUB_USER_NAME }}
|
||||||
|
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
|
||||||
|
|
||||||
|
- name: Echo Docker Hub Username
|
||||||
|
run: echo ${{ secrets.DOCKER_HUB_USER_NAME }}
|
||||||
|
|
||||||
|
- name: Echo GitHub SHA
|
||||||
|
run: echo $GITHUB_SHA
|
||||||
|
|
||||||
|
- name: Build Docker image
|
||||||
|
id: build_image
|
||||||
|
run: |
|
||||||
|
docker build "$GITHUB_WORKSPACE" -t sickcodes/docker-osx:master --label dockerfile-path="Dockerfile"
|
||||||
|
|
||||||
|
- name: Label Master Docker Image as Latest
|
||||||
|
id: label_image
|
||||||
|
run: |
|
||||||
|
docker tag sickcodes/docker-osx:master sickcodes/docker-osx:latest
|
||||||
|
|
||||||
|
- name: Push Docker image master
|
||||||
|
id: push_master
|
||||||
|
run: docker push sickcodes/docker-osx:master
|
||||||
|
|
||||||
|
- name: Push Docker image latest
|
||||||
|
id: push_latest
|
||||||
|
run: docker push sickcodes/docker-osx:latest
|
||||||
|
|
||||||
|
- name: Logout from Docker Hub
|
||||||
|
run: docker logout
|
||||||
|
|
||||||
|
- name: End
|
||||||
|
run: echo "Docker image pushed to Docker Hub successfully"
|
@ -356,8 +356,8 @@ VOLUME ["/tmp/.X11-unix"]
|
|||||||
# DMCA compliant download process
|
# DMCA compliant download process
|
||||||
# If BaseSystem.img does not exist, download ${SHORTNAME}
|
# If BaseSystem.img does not exist, download ${SHORTNAME}
|
||||||
|
|
||||||
# shortname default is catalina, which means :latest is catalina
|
# shortname default is below
|
||||||
ENV SHORTNAME=sonoma
|
ENV SHORTNAME=sequoia
|
||||||
|
|
||||||
ENV BASESYSTEM_IMAGE=BaseSystem.img
|
ENV BASESYSTEM_IMAGE=BaseSystem.img
|
||||||
|
|
||||||
|
39
README.md
39
README.md
@ -69,7 +69,7 @@ docker run -it \
|
|||||||
|
|
||||||
# docker build -t docker-osx .
|
# docker build -t docker-osx .
|
||||||
```
|
```
|
||||||
### Big Sur (11) [](https://hub.docker.com/r/sickcodes/docker-osx/tags?page=1&ordering=last_updated)
|
### Big Sur (11) [](https://hub.docker.com/r/sickcodes/docker-osx/tags?page=1&ordering=last_updated)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run -it \
|
docker run -it \
|
||||||
@ -83,7 +83,7 @@ docker run -it \
|
|||||||
# docker build -t docker-osx .
|
# docker build -t docker-osx .
|
||||||
```
|
```
|
||||||
|
|
||||||
### Monterey (12) [](https://hub.docker.com/r/sickcodes/docker-osx/tags?page=1&ordering=last_updated)
|
### Monterey (12) [](https://hub.docker.com/r/sickcodes/docker-osx/tags?page=1&ordering=last_updated)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
||||||
@ -100,7 +100,7 @@ docker run -it \
|
|||||||
# docker build -t docker-osx .
|
# docker build -t docker-osx .
|
||||||
```
|
```
|
||||||
|
|
||||||
### Ventura (13) [](https://hub.docker.com/r/sickcodes/docker-osx/tags?page=1&ordering=last_updated)
|
### Ventura (13) [](https://hub.docker.com/r/sickcodes/docker-osx/tags?page=1&ordering=last_updated)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
||||||
@ -117,7 +117,7 @@ docker run -it \
|
|||||||
# docker build -t docker-osx .
|
# docker build -t docker-osx .
|
||||||
```
|
```
|
||||||
|
|
||||||
### Sonoma (14) [](https://hub.docker.com/r/sickcodes/docker-osx/tags?page=1&ordering=last_updated)
|
### Sonoma (14) [](https://hub.docker.com/r/sickcodes/docker-osx/tags?page=1&ordering=last_updated)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
||||||
@ -136,7 +136,26 @@ docker run -it \
|
|||||||
# docker build -t docker-osx .
|
# docker build -t docker-osx .
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Run Catalina Pre-Installed [](https://hub.docker.com/r/sickcodes/docker-osx/tags?page=1&ordering=last_updated)
|
### Sequoia (15) [](https://hub.docker.com/r/sickcodes/docker-osx/tags?page=1&ordering=last_updated)
|
||||||
|
|
||||||
|
```bash
|
||||||
|
|
||||||
|
docker run -it \
|
||||||
|
--device /dev/kvm \
|
||||||
|
-p 50922:10022 \
|
||||||
|
-v /tmp/.X11-unix:/tmp/.X11-unix \
|
||||||
|
-e "DISPLAY=${DISPLAY:-:0.0}" \
|
||||||
|
-e GENERATE_UNIQUE=true \
|
||||||
|
-e CPU='Haswell-noTSX' \
|
||||||
|
-e CPUID_FLAGS='kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on' \
|
||||||
|
-e MASTER_PLIST_URL='https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom-sonoma.plist' \
|
||||||
|
-e SHORTNAME=sequoia \
|
||||||
|
sickcodes/docker-osx:latest
|
||||||
|
|
||||||
|
# docker build -t docker-osx .
|
||||||
|
```
|
||||||
|
|
||||||
|
<!-- #### Run Catalina Pre-Installed [](https://hub.docker.com/r/sickcodes/docker-osx/tags?page=1&ordering=last_updated)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# 40GB disk space required: 20GB original image 20GB your container.
|
# 40GB disk space required: 20GB original image 20GB your container.
|
||||||
@ -153,11 +172,11 @@ docker run -it \
|
|||||||
|
|
||||||
# username is user
|
# username is user
|
||||||
# password is alpine
|
# password is alpine
|
||||||
```
|
``` -->
|
||||||
|
|
||||||
### Older Systems
|
### Older Systems
|
||||||
|
|
||||||
### High Sierra [](https://hub.docker.com/r/sickcodes/docker-osx/tags?page=1&ordering=last_updated)
|
### High Sierra [](https://hub.docker.com/r/sickcodes/docker-osx/tags?page=1&ordering=last_updated)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
||||||
@ -172,7 +191,7 @@ docker run -it \
|
|||||||
# docker build -t docker-osx .
|
# docker build -t docker-osx .
|
||||||
```
|
```
|
||||||
|
|
||||||
### Mojave [](https://hub.docker.com/r/sickcodes/docker-osx/tags?page=1&ordering=last_updated)
|
### Mojave [](https://hub.docker.com/r/sickcodes/docker-osx/tags?page=1&ordering=last_updated)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
||||||
@ -212,7 +231,7 @@ docker run -it \
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
#### Use your own image and manually and automatically log into a shell
|
<!-- #### Use your own image and manually and automatically log into a shell
|
||||||
|
|
||||||
[](https://hub.docker.com/r/sickcodes/docker-osx/tags?page=1&ordering=last_updated)
|
[](https://hub.docker.com/r/sickcodes/docker-osx/tags?page=1&ordering=last_updated)
|
||||||
|
|
||||||
@ -239,7 +258,7 @@ docker run -it \
|
|||||||
-e MASTER_PLIST_URL=https://raw.githubusercontent.com/sickcodes/Docker-OSX/master/custom/config-nopicker-custom.plist \
|
-e MASTER_PLIST_URL=https://raw.githubusercontent.com/sickcodes/Docker-OSX/master/custom/config-nopicker-custom.plist \
|
||||||
-e SHORTNAME=monterey \
|
-e SHORTNAME=monterey \
|
||||||
sickcodes/docker-osx:naked-auto
|
sickcodes/docker-osx:naked-auto
|
||||||
```
|
``` -->
|
||||||
|
|
||||||
# Share directories, sharing files, shared folder, mount folder
|
# Share directories, sharing files, shared folder, mount folder
|
||||||
The easiest and most secure way is `sshfs`
|
The easiest and most secure way is `sshfs`
|
||||||
|
Reference in New Issue
Block a user