Additional troubleshoots

This commit is contained in:
name 2020-06-05 04:11:30 +00:00
parent d9f11c6c7c
commit 069548e8c6

View File

@ -20,6 +20,7 @@ docker run --privileged -v /tmp/.X11-unix:/tmp/.X11-unix sickcodes/docker-osx
# press ctrl G if your mouse gets stuck # press ctrl G if your mouse gets stuck
# scroll down to troubleshooting if you have problems
``` ```
@ -47,6 +48,11 @@ sudo modprobe kvm
``` ```
# Start the same container later (persistent disk) # Start the same container later (persistent disk)
This is for when you want to run your system later.
If you don't run this you will have a new image every time.
``` ```
# look at your recent containers # look at your recent containers
docker ps --all --filter "ancestor=docker-osx" docker ps --all --filter "ancestor=docker-osx"
@ -83,12 +89,12 @@ docker start xxxxxxx
``` ```
# Troubleshooting # 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
``` 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 Check if your hardware virt is on
```egrep -c '(svm|vmx)' /proc/cpuinfo``` ```egrep -c '(svm|vmx)' /proc/cpuinfo```
@ -99,6 +105,10 @@ Try adding yourself to the docker group
Turn on docker daemon Turn on docker daemon
```sudo nohup dockerd &``` ```sudo nohup dockerd &```
Check /dev/kvm permissions
```sudo chmod 666 /dev/kvm```
If you don't have Docker already If you don't have Docker already
``` ```