赞
踩
docker run \
--device /dev/kvm \
--device /dev/snd \
-e RAM=4 \
-p 50922:10022 \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-e "DISPLAY=${DISPLAY:-:0.0}" \
sickcodes/docker-osx:latest
https://github.com/sickcodes/Docker-OSX/blob/master/vnc-version/Dockerfile
构建命令:docker build -t docker-osx-vnc
docker run --device dev/kvm --device dev/snd -p 8888:5999 -p 50922:10022 -d --privileged docker-osx-vnc:latest
本地VNC连接:localhost:8888
远程连接:remotehost:8888
links:
https://z.itpub.net/article/detail/40860F47B2F401C3307952AB1CC67BCC
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。