diff options
| author | sickcodes <[email protected]> | 2021-03-17 21:50:13 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-03-17 21:50:13 +0000 |
| commit | 9af868d0d1d15046f21c54cf0450c12df6c179d6 (patch) | |
| tree | 1809419e262b4bfc571eb6dc5ed293d88775e676 /README.md | |
| parent | Merge pull request #194 from TheHackerCoding/master (diff) | |
| parent | Fix RAM math error for -e RAM=max (diff) | |
| download | docker-osx-9af868d0d1d15046f21c54cf0450c12df6c179d6.tar.xz docker-osx-9af868d0d1d15046f21c54cf0450c12df6c179d6.zip | |
Merge pull request #206 from sickcodes/dyanmic-ram-default
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}" \ |