Fixed Dockerfile instructions to align with the README instructions.

This commit is contained in:
sickcodes 2020-11-13 08:34:40 +00:00
parent 8dd8c1a58a
commit f03278da1b
3 changed files with 5 additions and 13 deletions

View File

@ -32,3 +32,5 @@ These credits refer to the contributors to this repository:
[@mikob](https://github.com/mikob) - Added important warning for Xcode users to reserve 60GB++ - Made instructions more clear for those needing Xcode #94 [@mikob](https://github.com/mikob) - Added important warning for Xcode users to reserve 60GB++ - Made instructions more clear for those needing Xcode #94
[@AdamMomen](https://github.com/AdamMomen) - Fixed automatic boot vnc-version container instructions for better usablility

View File

@ -26,13 +26,13 @@
# #
# Basic Run: # Basic Run:
# #
# docker run --privileged -e "DISPLAY=${DISPLAY:-:0.0}" -v /tmp/.X11-unix:/tmp/.X11-unix docker-osx # docker run --device /dev/kvm --device /dev/snd -v /tmp/.X11-unix:/tmp/.X11-unix -e "DISPLAY=${DISPLAY:-:0.0}" sickcodes/docker-osx:latest
# #
# #
# Run with SSH: # Run with SSH:
# #
# #
# docker run -e RAM=6 --privileged -p 50922:10022 -e "DISPLAY=${DISPLAY:-:0.0}" -v /tmp/.X11-unix:/tmp/.X11-unix docker-osx:latest # docker run --device /dev/kvm --device /dev/snd -e RAM=6 -p 50922:10022 -v /tmp/.X11-unix:/tmp/.X11-unix -e "DISPLAY=${DISPLAY:-:0.0}" sickcodes/docker-osx:latest
# # ssh fullname@localhost -p 50922 # # ssh fullname@localhost -p 50922
# #
# Optargs: # Optargs:
@ -50,10 +50,6 @@
# docker run ... -e EXTRA="-usb -device usb-host,hostbus=1,hostaddr=8" ... # docker run ... -e EXTRA="-usb -device usb-host,hostbus=1,hostaddr=8" ...
# # you will also need to pass the device to the container # # you will also need to pass the device to the container
# #
#
# Other permissions:
#
# docker run --privileged --net host -e "DISPLAY=${DISPLAY:-:0.0}" -e RAM=6 --cap-add=ALL -v /tmp/.X11-unix:/tmp/.X11-unix -v /dev:/dev -v /lib/modules:/lib/modules -v /var/run/libvirt/libvirt-sock:/var/run/libvirt/libvirt-sock docker-osx:latest
FROM archlinux:latest FROM archlinux:latest

View File

@ -26,7 +26,7 @@
# #
# Run: # Run:
# #
# docker run -p 8888:5999 -p 50922:10022 -d --privileged docker-osx-vnc:latest # docker run --device /dev/kvm --device /dev/snd -p 8888:5999 -p 50922:10022 -d --privileged docker-osx-vnc:latest
# #
# #
# Connect locally (safe): # Connect locally (safe):
@ -63,12 +63,6 @@
# # copy container ID and then # # copy container ID and then
# docker exec abc123fgh456 tail vncpasswd_file # docker exec abc123fgh456 tail vncpasswd_file
# #
#
# Optional:
#
# You can set VNC color depth with -e DEPTH=24, it's not pretty though.
#
#
# VNC Version # VNC Version
# Let's piggyback the other image: # Let's piggyback the other image: