aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorsickcodes <[email protected]>2020-11-13 08:34:40 +0000
committersickcodes <[email protected]>2020-11-13 08:34:40 +0000
commitf03278da1b8665f1baa5289c009b94bae95ae79d (patch)
treec48be450025a83a285f610614d98b4e8d3a7b2e3 /Dockerfile
parentMerge pull request #102 from AdamMomen/patch-1 (diff)
downloaddocker-osx-f03278da1b8665f1baa5289c009b94bae95ae79d.tar.xz
docker-osx-f03278da1b8665f1baa5289c009b94bae95ae79d.zip
Fixed Dockerfile instructions to align with the README instructions.
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile8
1 files changed, 2 insertions, 6 deletions
diff --git a/Dockerfile b/Dockerfile
index 6ffcb31..6e6b713 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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