Giter VIP home page Giter VIP logo

docker-ubuntu-desktop's Introduction

简介

ubuntu:18.04的基础上,安装中文桌面环境,支持SSH和VNC远程连接以及Win远程桌面

Docker Pulls GitHub release License


2022年元旦,服务器中了挖矿木马xmrig,从告警上看,煞有其事的进行下载安装运行,思来想去不应该啊,
查看路径后发现是在某个docker容器中,最终锁定这个远程桌面容器,开放的默认端口,简易的默认密码没有修改!
所以,墙裂建议,修改端口映射!修改提高密码强度!!!

例子

# 以后台方式运行容器,指定SSH和VNC端口,默认密码为123456
docker run -d -p 22:22 -p 5900:5900 gotoeasy/ubuntu-desktop

# 可以指定密码(必须6位以上)及分辨率
docker run -d -p 5900:5900 -e PASSWD=abcd1234 -e SIZE=1024x768 gotoeasy/ubuntu-desktop

# 用docker-compose方式启动,参考配置docker-compose.yml
docker-compose up

应用场景举例

  • 练习
  • 利用服务器资源,远程办公使用
  • 在K8S集群中发布,等同集群内网环境中切入一台桌面机,方便确认问题

更新履历

版本1.13.1latest

  • 升级TigerVNC版本至1.13.1,官方见https://github.com/TigerVNC/tigervnc
  • 其他预装软件同1.10.1版本

版本1.12.0

  • 升级TigerVNC版本至1.12.0,官方见https://github.com/TigerVNC/tigervnc
  • 其他预装软件同1.10.1版本

版本1.10.1

  • 支持汉字复制黏贴,需使用TigerVNC官方客户端,见https://github.com/TigerVNC/tigervnc
  • 增加预装软件vim,命令vivim都能用
  • 增加预装软件谷歌浏览器chrome
  • 增加预装软件数据库客户端mysql-workbench
  • 增加预装软件svn
  • 增加预装软件git
  • 默认无壁纸以便感官识别版本

版本vscode-go1.19

  • 1.10.1-base作为母版
  • 预装vscode 1.71.0稳定版
  • 预装go1.19及环境设定,内含hello例子,开箱即用

版本vscode-go1.18.3

  • 1.10.1-base作为母版
  • 预装vscode 1.68.0稳定版
  • 预装go1.18.3及环境设定,内含hello例子,开箱即用

版本1.10.1-base

  • 精简基础版,保留常用小工具、输入法、火狐浏览器,移除其余XRDP、SSH等不常用软件的预装

版本1.9.0

  • ubuntu:18.04
  • 用户:root
  • 默认SSH密码:123456
  • 默认VNC密码:123456
  • 预装XRDP,但window的远程桌面连接性能较差所以未启动,需要时自行开启service xrdp start,默认端口3389
  • 预装wgetcurlfirefox等少许常用软件
  • 时区Asia/Shanghai
  • 中文桌面环境xfce
  • 中文输入法
  • VNC远程桌面连接时支持和本机之间相互复制粘贴文本

截图

https://gotoeasy.github.io/screenshots/docker-ubuntu-desktop/ssh.jpg https://gotoeasy.github.io/screenshots/docker-ubuntu-desktop/vnc.jpg https://gotoeasy.github.io/screenshots/docker-ubuntu-desktop/vnc2.jpg

Star历史

Star History Chart

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.