How to run the Docker-OSX in Windows? #396

Open
opened 2025-12-29 06:19:39 +01:00 by adam · 3 comments
Owner

Originally created by @ZedZipDev on GitHub (Aug 29, 2022).

I run the cmd and receive the error:

>PS D:\_Docker> docker run -it --device /dev/kvm -p 50922:10022 -v /tmp/.X11-unix:/tmp/.X11-unix -e "DISPLAY=${DISPLAY:-:0.0}" sickcodes/docker-osx:latest
docker: Error response from daemon: error gathering device information while adding custom device "/dev/kvm": no such file or directory.

Is it possible to run it in Windows?

Originally created by @ZedZipDev on GitHub (Aug 29, 2022). I run the cmd and receive the error: ``` >PS D:\_Docker> docker run -it --device /dev/kvm -p 50922:10022 -v /tmp/.X11-unix:/tmp/.X11-unix -e "DISPLAY=${DISPLAY:-:0.0}" sickcodes/docker-osx:latest docker: Error response from daemon: error gathering device information while adding custom device "/dev/kvm": no such file or directory. ``` Is it possible to run it in Windows?
Author
Owner

@Hawam commented on GitHub (Aug 29, 2022):

use wsl
this system runs on Linux so u can use wsl to have Linux subsystem run with windows and run mac on top of it .
just don't expect it to run smoothly

@Hawam commented on GitHub (Aug 29, 2022): use wsl this system runs on Linux so u can use wsl to have Linux subsystem run with windows and run mac on top of it . just don't expect it to run smoothly
Author
Owner

@ZedZipDev commented on GitHub (Sep 1, 2022):

Ok, thank you. How can I use WSL in Windows for running this docker?

@ZedZipDev commented on GitHub (Sep 1, 2022): Ok, thank you. How can I use WSL in Windows for running this docker?
Author
Owner

@AlwynYin commented on GitHub (Dec 6, 2022):

You could probably check out this link basically docker for windows has two versions, one using hyperv and one using wsl backend

@AlwynYin commented on GitHub (Dec 6, 2022): You could probably check out this [link](https://docs.docker.com/desktop/windows/wsl/) basically docker for windows has two versions, one using hyperv and one using wsl backend
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Docker-OSX-sickcodes#396