1. 程式人生 > >通過VNC訪問docker容器的圖形介面

通過VNC訪問docker容器的圖形介面

https://hub.docker.com/r/dorowu/ubuntu-desktop-lxde-vnc/
https://github.com/fcwu/docker-ubuntu-vnc-desktop

docker-ubuntu-vnc-desktop

Docker PullsDocker Stars

From Docker Index

docker pull dorowu/ubuntu-desktop-lxde-vnc

Build yourself

git clone https://github.com/fcwu/docker-ubuntu-vnc-desktop.git
docker build --rm -t dorowu/ubuntu-desktop-lxde-vnc docker-ubuntu-vnc-desktop

Run

docker run -it --rm -p 8080:80 dorowu/ubuntu-desktop-lxde-vnc也可以使用命令(VNC Viewer設定密碼):docker run -p 6080:80 -p 5900:5900 -e VNC_PASSWORD=mypassword dorowu/ubuntu-desktop-lxde-vnc