輕快好用的Docker版雲桌面(不到300M、執行快、省流量)
阿新 • • 發佈:2021-08-03
輕快好用的Docker版雲桌面(不到300M、執行快、省流量)
QuickStart
docker run -it --rm --shm-size 1g --net=host infrastlabs/docker-headless:full
RDP
VNC
- noVnc精簡版+完整版
- 多例項支援
- 與rdp桌面共享
- 雙密碼:可操控+只讀
Locale
- LOCALE
- pt_PT es_ES fr_FR de_DE ru_RU it_IT nl_NL cs_CZ tr_TR ar_EG
- zh_CN zh_HK zh_TW ko_KR ja_JP
- TZ
- Asia/Shanghai (default)
- Etc/GMT-8 #東八區
桌面應用
Detail
- Size: latest:
168.347 MB
, slim:88.929 MB
, full:289.581 MB
- User:
headless
, SSHPass:headless
, VNCPass:headless
- Ports
- novnc 6080 > 10081
- xrdp 3389 > 10089
- sshd 22 > 10022
- HotKeys
super: Alt
sup+t
: terminalsup+f
: thunarsup+d
: rofisup+q
: flameshotsup+h
: hide windowsup+up
: max windowsup+down
: cycle windowssup+left
: left workspacesup+right
: right workspace
- Entry: xrdp, novnc, dropbear
- 命令工具:
tree htop gawk expect tmux rsync iproute2
- 圖形工具:
sakura tint2 plank flameshot
,gnome-system-monitor engrampa ristretto
- tzdata時區, ttf-wqy-microhei字型, ibus-rime輸入法,
- oh-my-bash, docker-dind
開發辦公
ENV|IDE
# JAVA
sudo apt -y install openjdk-8-jdk && sudo apt -y install maven
# GO/NODE
wget https://studygolang.com/dl/golang/go1.13.15.linux-amd64.tar.gz
tar -zxf go1.13.15.linux-amd64.tar.gz; mv go go1.13.15.linux-amd64
wget https://npm.taobao.org/mirrors/node/v14.13.1/node-v14.13.1-linux-x64.tar.xz
xz -d node-v14.13.1-linux-x64.tar.xz #tar.xz消失
tar -xvf node-v14.13.1-linux-x64.tar
cat >> /etc/profile <<EOF
# NODE
NODE_HOME=/_ext/down/node-v14.13.1-linux-x64
PATH=\$PATH:\$NODE_HOME/bin
export NODE_HOME PATH
# GO
GO_HOME=/_ext/down/go1.13.15.linux-amd64
GOPATH=/_ext/gopath
PATH=\$PATH:\$GO_HOME/bin:\$GOPATH/bin
export GO_HOME GOPATH PATH
export GO111MODULE=on
export GOPROXY=https://goproxy.cn
EOF
#IDE: vscode, idea-ic
# wget https://vscode.cdn.azure.cn/stable/91899dcef7b8110878ea59626991a18c8a6a1b3e/code_1.47.3-1595520028_amd64.deb
wget https://vscode.cdn.azure.cn/stable/c3f126316369cd610563c75b1b1725e0679adfb3/code_1.58.2-1626302803_amd64.deb #org's down, replace domain to azure.
wget https://download.jetbrains.8686c.com/idea/ideaIC-2016.3.8-no-jdk.tar.gz #run with:openjdk8
BROWSER|OFFICE
wps, chrome/firefox
#BROWSER|OFFICE
# https://blog.csdn.net/u012939880/article/details/89439647 #wps_symbol_fonts.zip
wget https://wdl1.cache.wps.cn/wps/download/ep/Linux2019/10161/wps-office_11.1.0.10161_amd64.deb
sudo apt -y install firefox-esr chromium #chromium-driver