aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorsickcodes <[email protected]>2021-02-07 19:25:59 +0000
committersickcodes <[email protected]>2021-02-07 19:25:59 +0000
commit7eb821dcc3145d5f3f39075327f0cf2804526480 (patch)
treee963f990e2b7d4802bccc475fde6022df1ea3618 /README.md
parentRemove pacman -Scc until later. (diff)
downloaddocker-osx-7eb821dcc3145d5f3f39075327f0cf2804526480.tar.xz
docker-osx-7eb821dcc3145d5f3f39075327f0cf2804526480.zip
Add -e NOPICKER=false for the :naked image to be able to enter boot menu.
Diffstat (limited to 'README.md')
-rw-r--r--README.md16
1 files changed, 15 insertions, 1 deletions
diff --git a/README.md b/README.md
index 8134bbd..57ad3fc 100644
--- a/README.md
+++ b/README.md
@@ -111,7 +111,10 @@ docker start -i containerid
# Quick Start Own Image
-Supply your image with `-v "${PWD}/mac_hdd_ng.img:/image"` and use `sickcodes/docker-osx:naked`
+Supply your own local image with `-v "${PWD}/mac_hdd_ng.img:/image"` and use `sickcodes/docker-osx:naked`
+
+- Naked image is for booting any existing .img file.
+- By default, this image has a variable called `NOPICKER` which is `"true"`. Use `-e NOPICKER=false` or any other string than the word `true` to enter the boot menu. This lets you use other disks instead of skipping the boot menu, e.g. recovery disk.
```bash
docker pull sickcodes/docker-osx:naked
@@ -124,6 +127,17 @@ docker run -it \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-e "DISPLAY=${DISPLAY:-:0.0}" \
sickcodes/docker-osx:naked
+
+# run local copy of the auto image + SSH + Boot menu
+docker run -it \
+ --device /dev/kvm \
+ -p 50922:10022 \
+ -v "${PWD}/mac_hdd_ng_auto.img:/image" \
+ -v /tmp/.X11-unix:/tmp/.X11-unix \
+ -e "DISPLAY=${DISPLAY:-:0.0}" \
+ -e "NOPICKER=false" \
+ sickcodes/docker-osx:naked
+
```
```bash
# run your own image headless + SSH