vnc port / user password ? #106

Open
opened 2025-12-28 23:24:30 +01:00 by adam · 2 comments
Owner

Originally created by @matti on GitHub (Jan 24, 2021).

VNC on localhost:8888 vnc version is inside a separate directory

But atleast with this the port is 5900

docker run -it \
    --device /dev/kvm \
    -p 5900:5900 sickcodes/docker-osx:auto

What's the user password?

Originally created by @matti on GitHub (Jan 24, 2021). >VNC on localhost:8888 vnc version is inside a separate directory But atleast with this the port is 5900 ``` docker run -it \ --device /dev/kvm \ -p 5900:5900 sickcodes/docker-osx:auto ``` What's the user password?
adam added the documentation label 2025-12-28 23:24:30 +01:00
Author
Owner

@sickcodes commented on GitHub (Jan 24, 2021):

Build the VNC image as per the README, then use the new runtime volume argument:

wget https://images2.sick.codes/mac_hdd_ng_auto.img.zst

zstd -k mac_hdd_ng_auto.img.zst

Then add this:
bash
docker run -it
--device /dev/kvm
-p 50922:10022
-v "$PWD/mac_hdd_ng_auto.img":/image
-v /tmp/.X11-unix:/tmp/.X11-unix
-e "DISPLAY=${DISPLAY:-:0.0}"
sickcodes/docker-osx:naked

@sickcodes commented on GitHub (Jan 24, 2021): ~~Build the VNC image as per the README, then use the new runtime volume argument:~~ ~~wget https://images2.sick.codes/mac_hdd_ng_auto.img.zst~~ ~~zstd -k mac_hdd_ng_auto.img.zst~~ ~~Then add this:~~ ~~bash docker run -it \ --device /dev/kvm \ -p 50922:10022 \ -v "$PWD/mac_hdd_ng_auto.img":/image \ -v /tmp/.X11-unix:/tmp/.X11-unix \ -e "DISPLAY=${DISPLAY:-:0.0}" \ sickcodes/docker-osx:naked~~
Author
Owner

@sickcodes commented on GitHub (Feb 26, 2021):

Build the VNC image as per the README, then use the new runtime volume argument:

wget https://images2.sick.codes/mac_hdd_ng_auto.img.zst

zstd -k mac_hdd_ng_auto.img.zst

Then add this:

docker run -it \
    --device /dev/kvm \
    -p 50922:10022 \
    -v "$PWD/mac_hdd_ng_auto.img":/image \
    -v /tmp/.X11-unix:/tmp/.X11-unix \
    -e "DISPLAY=${DISPLAY:-:0.0}" \
    sickcodes/docker-osx:naked

I removed the runtime argument volume from VNC version.

But you can still use:

docker run -it \
    --device /dev/kvm \
    -p 50922:10022 \
    -v "$PWD/mac_hdd_ng_auto.img":/image \
    -v /tmp/.X11-unix:/tmp/.X11-unix \
    -e BOOTDISK=/image \
    -e "DISPLAY=${DISPLAY:-:0.0}" \
    sickcodes/docker-osx:naked
@sickcodes commented on GitHub (Feb 26, 2021): > Build the VNC image as per the README, then use the new runtime volume argument: > > ``` > wget https://images2.sick.codes/mac_hdd_ng_auto.img.zst > > zstd -k mac_hdd_ng_auto.img.zst > ``` > > Then add this: > > ```shell > docker run -it \ > --device /dev/kvm \ > -p 50922:10022 \ > -v "$PWD/mac_hdd_ng_auto.img":/image \ > -v /tmp/.X11-unix:/tmp/.X11-unix \ > -e "DISPLAY=${DISPLAY:-:0.0}" \ > sickcodes/docker-osx:naked > ``` I removed the runtime argument volume from VNC version. But you can still use: ``` docker run -it \ --device /dev/kvm \ -p 50922:10022 \ -v "$PWD/mac_hdd_ng_auto.img":/image \ -v /tmp/.X11-unix:/tmp/.X11-unix \ -e BOOTDISK=/image \ -e "DISPLAY=${DISPLAY:-:0.0}" \ sickcodes/docker-osx:naked ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Docker-OSX#106