aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorname <[email protected]>2020-06-05 03:49:15 +0000
committername <[email protected]>2020-06-05 03:49:15 +0000
commitd9f11c6c7c0563de81858a6a70782e29eecb61ae (patch)
tree5f8e8ac4f2cdab541547e2b09374ce28a8ee78b8
parent2 useless commands (diff)
downloaddocker-osx-d9f11c6c7c0563de81858a6a70782e29eecb61ae.tar.xz
docker-osx-d9f11c6c7c0563de81858a6a70782e29eecb61ae.zip
Old container finder
-rw-r--r--README.md24
1 files changed, 22 insertions, 2 deletions
diff --git a/README.md b/README.md
index e3662a5..3fb850c 100644
--- a/README.md
+++ b/README.md
@@ -10,6 +10,8 @@ Credits: OSX-KVM project among many others: https://github.com/kholia/OSX-KVM/bl
Docker Hub: https://hub.docker.com/r/sickcodes/docker-osx
+Pull requests, suggestions very welcome!
+
```
docker pull sickcodes/docker-osx
@@ -18,6 +20,7 @@ docker run --privileged -v /tmp/.X11-unix:/tmp/.X11-unix sickcodes/docker-osx
# press ctrl G if your mouse gets stuck
+
```
# Requirements: KVM on the host
@@ -45,11 +48,22 @@ sudo modprobe kvm
# Start the same container later (persistent disk)
```
-# look at it
+# look at your recent containers
docker ps --all --filter "ancestor=docker-osx"
+docker ps --all --filter "ancestor=sickcodes/docker-osx"
-# boot my old one
+# boot the old ones
docker start $(docker ps -q --all --filter "ancestor=docker-osx")
+docker start $(docker ps -q --all --filter "ancestor=sickcodes/docker-osx")
+
+# close all the ones you don't need
+
+# check which one is still running
+docker ps
+
+# write down the good one and then use that for later
+docker start xxxxxxx
+
```
# Additional Boot Instructions
@@ -70,6 +84,12 @@ docker start $(docker ps -q --all --filter "ancestor=docker-osx")
# Troubleshooting
+```
+# alternative run, thanks @roryrjb
+docker run --privileged --net host --cap-add=ALL -v /tmp/.X11-unix:/tmp/.X11-unix -v /dev:/dev -v /lib/modules:/lib/modules sickcodes/docker-osx
+
+```
+
Check if your hardware virt is on
```egrep -c '(svm|vmx)' /proc/cpuinfo```