dockur / macos

OSX (macOS) inside a Docker container.
MIT License
162 stars 14 forks source link

[Feature]: Connect to MacOS via VNC instead web novnc #54

Open ErickRodrCodes opened 2 weeks ago

ErickRodrCodes commented 2 weeks ago

Is your proposal related to a problem?

IT seems SUPER SLOW when handling the VM via web. If a vnc is open, more likely I can operate it better than what I can do in the browser

Describe the solution you'd like.

browser is sluggish, and takes time to operate

Describe alternatives you've considered.

using VNC provides a better response.

Additional context

No response

jiongjiongJOJO commented 3 days ago

You can refer to this official Apple note: https://support.apple.com/zh-cn/guide/remote-desktop/apde0dd523e/3.9.2/mac And note that docker needs to map port 5900 when opening containers, e.g.

docker run -it -p 8006:8006 -p 5900:5900/tcp -p 5900:5900/udp --device=/dev/kvm --cap-add NET_ADMIN --stop-timeout 120 dockurr/macos

And then you can connect directly to it by using the vnc tool ! and you'll be able to connect directly image