mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2024-12-21 21:41:31 -06:00
Fixed Dockerfile instructions to align with the README instructions.
This commit is contained in:
parent
8dd8c1a58a
commit
f03278da1b
@ -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
|
||||
|
||||
[@AdamMomen](https://github.com/AdamMomen) - Fixed automatic boot vnc-version container instructions for better usablility
|
||||
|
||||
|
@ -26,13 +26,13 @@
|
||||
#
|
||||
# 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:
|
||||
#
|
||||
#
|
||||
# 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
|
||||
#
|
||||
# Optargs:
|
||||
@ -50,10 +50,6 @@
|
||||
# docker run ... -e EXTRA="-usb -device usb-host,hostbus=1,hostaddr=8" ...
|
||||
# # 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
|
||||
|
||||
|
@ -26,7 +26,7 @@
|
||||
#
|
||||
# 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):
|
||||
@ -62,12 +62,6 @@
|
||||
# docker ps
|
||||
# # copy container ID and then
|
||||
# docker exec abc123fgh456 tail vncpasswd_file
|
||||
#
|
||||
#
|
||||
# Optional:
|
||||
#
|
||||
# You can set VNC color depth with -e DEPTH=24, it's not pretty though.
|
||||
#
|
||||
#
|
||||
# VNC Version
|
||||
# Let's piggyback the other image:
|
||||
|
Loading…
Reference in New Issue
Block a user