Merge pull request #140 from prometheas/fix-boot-to-osx-shell+display-command

docs: fix broken multi-line docker command
This commit is contained in:
sickcodes 2021-02-01 21:49:15 +00:00 committed by GitHub
commit 5c2039d262
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,7 +63,7 @@ docker run -it \
-p 50922:10022 \ -p 50922:10022 \
-v /tmp/.X11-unix:/tmp/.X11-unix \ -v /tmp/.X11-unix:/tmp/.X11-unix \
-e "DISPLAY=${DISPLAY:-:0.0}" \ -e "DISPLAY=${DISPLAY:-:0.0}" \
-e "OSX_COMMANDS=/bin/bash -c \"pwd && uname -a\"" -e "OSX_COMMANDS=/bin/bash -c \"pwd && uname -a\"" \
sickcodes/docker-osx:auto sickcodes/docker-osx:auto
# Boots in a minute or two! # Boots in a minute or two!
@ -115,7 +115,7 @@ docker run -it \
- Kubernetes Helm Chart. [See ./helm](https://github.com/sickcodes/Docker-OSX/tree/master/helm) - Kubernetes Helm Chart. [See ./helm](https://github.com/sickcodes/Docker-OSX/tree/master/helm)
- OSX-KVM - OSX-KVM
- X11 Forwarding - X11 Forwarding
- SSH on localhost:50922 - SSH on localhost:50922
- QEMU - QEMU
- VNC on localhost:8888 [vnc version is inside a separate directory](https://github.com/sickcodes/Docker-OSX/blob/master/vnc-version/Dockerfile) - VNC on localhost:8888 [vnc version is inside a separate directory](https://github.com/sickcodes/Docker-OSX/blob/master/vnc-version/Dockerfile)
- Create an ARMY using `docker commit` - Create an ARMY using `docker commit`
@ -181,7 +181,7 @@ docker run -it \
-p 50922:10022 \ -p 50922:10022 \
-v /tmp/.X11-unix:/tmp/.X11-unix \ -v /tmp/.X11-unix:/tmp/.X11-unix \
-e "DISPLAY=${DISPLAY:-:0.0}" \ -e "DISPLAY=${DISPLAY:-:0.0}" \
sickcodes/docker-osx:latest sickcodes/docker-osx:latest
# turn on SSH after you've installed OSX in the "Sharing" settings. # turn on SSH after you've installed OSX in the "Sharing" settings.
ssh fullname@localhost -p 50922 ssh fullname@localhost -p 50922
@ -261,7 +261,7 @@ docker start abc123xyz567
- Erase the BIGGEST disk (around 200gb default), DO NOT MODIFY THE SMALLER DISKS. - Erase the BIGGEST disk (around 200gb default), DO NOT MODIFY THE SMALLER DISKS.
-- if you can't click `erase`, you may need to reduce the disk size by 1kb -- if you can't click `erase`, you may need to reduce the disk size by 1kb
- (optional) Create a partition using the unused space to house the OS and your files if you want to limit the capacity. (For Xcode 12 partition at least 60gb.) - (optional) Create a partition using the unused space to house the OS and your files if you want to limit the capacity. (For Xcode 12 partition at least 60gb.)
- Click `Reinstall macOS` - Click `Reinstall macOS`
@ -273,7 +273,7 @@ docker start abc123xyz567
# To do this, run the following commands # To do this, run the following commands
# make note of your container id # make note of your container id
docker ps --all docker ps --all
docker commit containerid newImageName docker commit containerid newImageName
# To run this image do the following # To run this image do the following