Home Affiliates Marketing Domains Marketing Webhost Services Contact Us

Linux VPS Docker --- Chrome + firefox

安装Docker

使用官方一键安装脚本:

curl -Lv get.docker.com|bash

使用方法

输入命令:

docker run -d -p 3389:3389 -p 5901:5901 -p 6901:6901 soff/tiny-remote-desktop


noVNC,浏览器直接访问:http://<IP>:6901,密码 vncpassword

VNC:<IP>:5901,密码 vncpassword

RDP:<IP>:3389,用户名 user 密码 password

说明:这个镜像使用的是非常小巧的Fluxbox桌面环境,进入桌面后右键点击桌面空白处即可弹出菜单。

-------------------------------------------------

查看所有运行或者不运行容器

docker ps -a

1

停止所有的container(容器),这样才能够删除其中的images:


docker stop $(docker ps -a -q) 或者 docker stop $(docker ps -aq) 

1

如果想要删除所有container(容器)的话再加一个指令:


docker rm $(docker ps -a -q) 或者 docker rm $(docker ps -aq) 

----------------------------------------------------------

镜像详细说明:https://hub.docker.com/r/soff/tiny-remote-desktop

Run command with mapping to local port 5901 (vnc protocol) and 6901 (vnc web access):


docker run -d -p 5901:5901 -p 6901:6901 soff/tiny-remote-desktop

Run command with mapping to local port 3389 (rdp protocol):


docker run -d -p 3389:3389 soff/tiny-remote-desktop

Run command with mapping to local port 5901 (vnc protocol) and 6901 (vnc web access) with access password:


docker run -d -p 5901:5901 -p 6901:6901 -e VNC_PASSWORD="vncpassword" soff/tiny-remote-desktop

Run command with mapping to local port 5901 (vnc protocol) and 6901 (vnc web access) with specific resolution:


docker run -d -p 5901:5901 -p 6901:6901 -e RESOLUTION=1600x1200 soff/tiny-remote-desktop



其他类似镜像

https://hub.docker.com/r/consol/centos-xfce-vnc


https://hub.docker.com/r/soff/ubuntu-xfce-vnc


https://github.com/fcwu/docker-ubuntu-vnc-desktop