docker一键安装脚本
wget -qO- get.docker.com | sh #官方安装
curl -sSL https://get.daocloud.io/docker | sh #国内daodocker安装,推荐
镜像1:rastasheep/ubuntu-sshd (带ssh的ubuntu)
地址:https://hub.docker.com/r/rastasheep/ubuntu-sshd/
sudo docker run -d -p 22:22 rastasheep/ubuntu-sshd:16.04 用户名、密码为root
镜像2:itscaro/debian-ssh (带ssh的ubuntu)
地址:https://hub.docker.com/r/itscaro/debian-ssh/
sudo docker run -d -p 22:22 itscaro/debian-ssh 用户名、密码为root
镜像3:tutum/centos (带ssh的centos)
地址:https://hub.docker.com/r/tutum/centos/
sudo docker run -d -p 22:22 tutum/centos (centos7:tutum/centos:centos7)
用户名root,密码随机. 请执行 docker logs 查看 可在运行时设置密码
示例: docker run -d -p 0.0.0.0:2222:22 -e ROOT_PASS="mypass" tutum/centos #mypass改为密码即可
镜像4:alexwhen/docker-2048(游戏2048)
地址:https://hub.docker.com/r/alexwhen/docker-2048/
sudo docker run -d -p 80:80 alexwhen/docker-2048
镜像5:dorowu/ubuntu-desktop-lxde-vnc(noVNC、Firefox51)
地址:[su_permalink]https://hub.docker.com/r/dorowu/ubuntu-desktop-lxde-vnc/
docker run -it -p 80:80 dorowu/ubuntu-desktop-lxde-vnc Browse http://localhost/
镜像6:consol/centos-xfce-vnc (VNC、noVNC、密码、chrome、Firefox45)
地址:[su_permalink]https://hub.docker.com/r/consol/ubuntu-xfce-vnc/
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)
其他相关 consol/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 (支持磁力,种子)
地址:https://hub.docker.com/r/fish/peerflix-server
docker run -it -p 9000:9000 fish/peerflix-server Browse http://localhost:9000/
镜像8:forsaken-mail(临时邮箱)
地址https://hub.docker.com/r/rockmaity/forsaken-mail/
docker run --name forsaken-mail -itd -p 25:25 -p 3000:3000 rockmaity/forsaken-mail Browse http://ip:3000/
镜像9:nextcloud
地址: https://hub.docker.com/_/nextcloud/
docker run -d -p 8080:80 nextcloud
目录映射: docker run -d \ -v nextcloud:/var/www/html \ nextcloud