整文搬运于:
http://blog.jialezi.net/?post=35
个人做了一些补充。
docker一键安装脚本
curl -sSL https://get.daocloud.io/docker | sh #国内daodocker安装,推荐
镜像1:rastasheep/ubuntu-sshd (带ssh的ubuntu)
sudo docker run -d -p 22:22 rastasheep/ubuntu-sshd:16.04
用户名、密码为root
镜像2:itscaro/debian-ssh (带ssh的ubuntu)
sudo docker run -d -p 22:22 itscaro/debian-ssh
用户名、密码为root
镜像3:tutum/centos (带ssh的centos)
sudo docker run -d -p 22:22 tutum/centos
(centos7:tutum/centos:centos7 )
(centos6:tutum/centos:centos6 )
(centos5:tutum/centos:centos5 )
用户名root,密码随机.
请执行 docker logs 查看
可在运行时设置密码,示例:
docker run -d -p 0.0.0.0:2222:22 -e ROOT_PASS="mypass" tutum/centos
#mypass改为密码即可
这个作者还有好多好东西:https://hub.docker.com/r/tutum/centos/
镜像4:alexwhen/docker-2048(游戏2048)
sudo docker run -d -p 80:80 alexwhen/docker-2048
镜像5:dorowu/ubuntu-desktop-lxde-vnc(noVNC、Firefox51)
docker run -it -p 80:80 dorowu/ubuntu-desktop-lxde-vnc
Browse http://localhost/
镜像6:consol/centos-xfce-vnc (VNC、noVNC、密码、chrome、Firefox45)
run -it -p 5901:5901 -p 6901:6901 -e "VNC_PW=my-new-password" -e VNC_RESOLUTION=800x600 consol/centos-xfce-vnc
默认VNC密码:vncpassword
VNC-Server (default VNC port 5901)
noVNC - HTML5 VNC client (default http port 6901)
其他相关
onsol/centos-xfce-vnc: Centos7 with Xfce4 UI session
consol/ubuntu-xfce-vnc: Ubuntu with Xfce4 UI session
consol/centos-icewm-vnc: dev Centos7 with IceWM UI session
consol/ubuntu-icewm-vnc: dev Ubuntu with IceWM UI session
镜像7:fish/peerflix-server (支持磁力,种子)
docker run -it -p 9000:9000 fish/peerflix-server
Browse http://localhost:9000/
镜像8:jpillora/cloud-torrent(种子下载,搜索)
docker run -d -p 3000:3000 -v /path/to/my/downloads:/downloads jpillora/cloud-torrent
Browse http://localhost:3000/
镜像9:jim3ma/google-mirror(google镜像,如需ssl要手动添加)
docker run -d -p 80:80 jim3ma/google-mirror
Browse http://localhost:80/
镜像⒑:google-reverse-proxy(google镜像,有ssl)
docker run -d --publish 54321:20081 --restart=always jokester/google-reverse-proxy
Browse https://ip:54321/
镜像⒒:forsaken-mail(临时邮箱)
docker run --name forsaken-mail -itd -p 25:25 -p 3000:3000 rockmaity/forsaken-mail
Browse http://ip:3000/
镜像⒓:imdjh/owncloud-with-ocdownloader(owncloud,torrent,aria2,youtube-dl)
docker run -d -p 80:80 -e OWNCLOUD_VERSION=9.1.4 -v /var/www/html/data:/var/www/html/data imdjh/owncloud-with-ocdownloader
Browse http://ip/
镜像⒔:v2ray/official(v2ray)
docker run -d -p 8001:8001 v2ray/official
参考:https://liyuans.com/archives/arukas-build-v2ray.html
镜像⒕:timonier/aria2
docker run -i -t -v /data:/data --net host timonier/aria2 --dir=/data --enable-rpc --rpc-listen-all=true
配合使用:timonier/webui-aria2(aria2web管理)
地址:https://hub.docker.com/r/timonier/webui-aria2/
docker run -i -t -p 80:80 timonier/webui-aria2
镜像15:nextcloud
docker run -d -p 8080:80 nextcloud
目录映射:
docker run -d \
-v nextcloud:/var/www/html \
nextcloud
正在持续补充中...