sickcodes / Docker-OSX

Run macOS VM in a Docker! Run near native OSX-KVM in Docker! X11 Forwarding! CI/CD for OS X Security Research! Docker mac Containers.
https://hub.docker.com/r/sickcodes/docker-osx
GNU General Public License v3.0
46.23k stars 2.48k forks source link

while downloading i got this error : Error response from daemon: error gathering device information while adding custom device "/dev/kvm": no such file or directory. #578

Open Naveenreddy7571 opened 1 year ago

Naveenreddy7571 commented 1 year ago

please help me

dajix350 commented 1 year ago

Anyone found a fix for this? I am getting this error on Nobara 36 (Fedora fork) with Docker Desktop installed via the guide on the Docker website for Fedora.

ifmad commented 1 year ago

You need to have KVM virtualization installed to be able to have /dev/kvm.

dajix350 commented 1 year ago

I installed all the dependency's as the guide said including KVM. I also already use virt-manager (which uses KVM) for other VMs.

Breadmaster101 commented 1 year ago

Any updates on if there's a fix for this? I'm having the same problem

dynamyc010 commented 1 year ago

the fix for this for me was to not use Docker Desktop, but instead use Docker from the arch repos (in my case)

Desktop seems to take up KVM and it seems containers themselves can't use it if it's running

dinbtechit commented 1 year ago

Same issue on Mac M1. Not sure how to install kvm on m1.