Docker: Ubuntu使用VNC运行基于Docker容器里的桌面系统

来源:互联网 发布:泗阳网络直通车 编辑:程序博客网 时间:2024/06/05 15:45

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.gitdocker 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

Browse http://docker-default-ip:8080/

Troubleshooting

  1. boot2docker connection issue, https://github.com/fcwu/docker-ubuntu-vnc-desktop/issues/2

License

See the LICENSE file for details.

************************************************************************************************************************************************


这是通过VNC,远程启动Ubuntu桌面系统的访问方法。对于Windows转Linux的程序猿有更大的意义,否则大名鼎鼎的Docker只能敲命令行,虽然强大入门却难。

docker-ubuntu-vnc-desktop

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 -i -t -p 6080:80 dorowu/ubuntu-desktop-lxde-vnc

Browse http://127.0.0.1:6080/vnc.html

0 0
原创粉丝点击