Docker-OSX icon indicating copy to clipboard operation
Docker-OSX copied to clipboard

How to run the Docker-OSX in Windows?

Open ZedZipDev opened this issue 2 years ago • 3 comments

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?

ZedZipDev avatar Aug 29 '22 13:08 ZedZipDev

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 avatar Aug 29 '22 14:08 Hawam

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

ZedZipDev avatar Sep 01 '22 14:09 ZedZipDev

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

AlwynYin avatar Dec 06 '22 06:12 AlwynYin