diff options
| author | sickcodes <[email protected]> | 2021-03-17 20:27:39 +0000 |
|---|---|---|
| committer | sickcodes <[email protected]> | 2021-03-17 20:27:39 +0000 |
| commit | 413b09df93ef25c4f2a1e82fa60e9dc49dc7afbe (patch) | |
| tree | 5e9dad01a76bea59be07adbd40ee0fbb439b36b4 /README.md | |
| parent | Merge pull request #194 from TheHackerCoding/master (diff) | |
| download | docker-osx-413b09df93ef25c4f2a1e82fa60e9dc49dc7afbe.tar.xz docker-osx-413b09df93ef25c4f2a1e82fa60e9dc49dc7afbe.zip | |
Use RAM=max or RAM=half to suit all machines, dynamically.
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -182,9 +182,12 @@ docker start -i containerid This is my favourite container. You can supply an existing disk image as a docker command line argument. +Pull images out using `sudo find /var/lib/docker -size +10G | grep mac_hdd_ng.img` + 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. +- Naked image is for booting any existing .img file, e.g in the current working directory (`$PWD`) + - By default, this image has a variable called `NOPICKER` which is `"true"`. This skips the disk selection menu. 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 or disk utility. ```bash @@ -298,7 +301,6 @@ docker run -it \ docker run -it \ --device /dev/kvm \ --device /dev/snd \ - -e RAM=4 \ -p 50922:10022 \ -v /tmp/.X11-unix:/tmp/.X11-unix \ -e "DISPLAY=${DISPLAY:-:0.0}" \ |