Old container finder

This commit is contained in:
name 2020-06-05 03:49:15 +00:00
parent 8eedf13a9e
commit d9f11c6c7c

View File

@ -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```