通过VNC访问docker容器的图形界面 - Go语言中文社区

通过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

浏览器 http://127.0.0.1:8080/

版权声明:本文来源CSDN,感谢博主原创文章,遵循 CC 4.0 by-sa 版权协议,转载请附上原文出处链接和本声明。
原文链接:https://blog.csdn.net/spylyt/article/details/79944772
站方申明:本站部分内容来自社区用户分享,若涉及侵权,请联系站方删除。
  • 发表于 2020-03-01 21:19:52
  • 阅读 ( 2106 )
  • 分类:docker

0 条评论

请先 登录 后评论

官方社群

GO教程

猜你喜欢