Docker-OSX
Docker-OSX copied to clipboard
while runing the docker image locally getting the below error
docker run --device /dev/kvm --device /dev/snd -v /tmp/.X11-unix:/tmp/.X11-unix -e "DISPLAY=${DISPLAY:-:0.0}" docker-osx docker: Error response from daemon: error gathering device information while adding custom device "/dev/kvm": no such file or directory. ERRO[0000] error waiting for container: context canceled
You seem to be missing kvm.
you can check if you have kvm available by using the kvm-ok command from cpu-checker package
the output you want is:
INFO: /dev/kvm exists
KVM acceleration can be used
If not, you will need to get KVM working first before attempting to use this project.
Read the Initial setup guide for more details.